review๐
The review
action reviews the pull request. You can use it to approve or
request a change on a pull request.
Options๐
Key Name |
Value Type |
Default |
Value Description |
---|---|---|---|
|
Mergify can impersonate a GitHub user to review a pull request.
If no bot_account is set, Mergify will review the pull request
itself. |
||
|
The message to write as a comment. |
||
|
string |
|
The kind of review, can be |
Examples๐
You can use Mergify to review a pull request on your behalf. This can be handy if you require a minimum number of review to be present on a pull request (e.g., due to branch protection) but wants to automate some merge.
Dependabot is the bot behind GitHub automatic security update. It sends automatic updates for your project's dependencies, making sure they are secure. You can automate the approval of pull request created by dependabot with a rule such as:
pull_request_rules:
- name: automatic approval for Dependabot pull requests
conditions:
- author=dependabot[bot]
actions:
review:
type: APPROVE
message: Automatically approving dependabot