Latest update #1
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 label | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- labeled | |
- unlabeled | |
jobs: | |
merge-paused: | |
name: Merge paused | |
runs-on: ubuntu-latest | |
steps: | |
# fail if the merge paused label is present | |
- if: "contains(github.event.pull_request.labels.*.name, 'merge paused')" | |
run: exit 1 | |
# else | |
- run: exit 0 |