edit๐
The edit
action changes some specific attributes on the pull request.
Options๐
Key Name |
Value Type |
Default |
Value Description |
---|---|---|---|
|
Boolean |
None |
If the pull request should be a draft ( |
Examples๐
๐ Converting a Pull Request to a Draft on Check Failure๐
If any of your continuous integration checks fail, it might be worth converting the pull request to a draft automatically since it's likely that it's not ready for review.
pull_request_rules:
- name: convert to draft
conditions:
- "#check-failure>0"
actions:
edit:
draft: True