Apple Teams #9
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 Do Not Merge | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- unlabeled | |
jobs: | |
fail-for-do-not-merge: | |
if: contains(github.event.pull_request.labels.*.name, 'do not merge') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fail if PR is labeled with do not merge | |
run: | | |
echo "This PR can't be merged, due to the 'do not merge' label." | |
exit 1 |