close๐
The close
action closes the pull request โ without merging it.
Options๐
Key Name |
Value Type |
Default |
Value Description |
---|---|---|---|
|
|
The message to write as a comment after closing the pull request. |
Examples๐
โ Automatically close pull request touching a file๐
If you wanted to automatically close pull request that touches a certain file,
let's say do_not_touch.txt
, you could write a rule such as:
pull_request_rules:
- name: disallow changing a file
conditions:
- files=do_not_touch.txt
actions:
close: