Skip to content

Siteimprove/pr-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull Request Commands

pr-command is an action that enables you to run commands on your pull requests using comments.

This action will be triggered on comments on pull requests: it checks-out your pull request, runs a command, and commits the result back to the branch. It can also write a comment on the PR.

There is:

  • a simple action, reacting to a given comment with a given command;
  • an advanced action, reacting to comments starting with a given prefix, with commands that depend on the actual comment;
  • a composite two-steps action, separating the process of the comment and the run of the command to leave room for extra setup should a command be run.

Example