Improve focus rule #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Hold | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- unlabeled | |
jobs: | |
hold: | |
if: contains(github.event.pull_request.labels.*.name, 'hold') | |
runs-on: ubuntu-latest | |
steps: | |
- name: hold merging for the if PR is on hold | |
run: | | |
echo "This PR is currently on hold." | |
exit 1 |