Release/v3.11.2 #27
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 | |
- reopened | |
- synchronize | |
- edited | |
- labeled | |
- unlabeled | |
jobs: | |
ok-to-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: This PR is labeled with do not merge | |
if: contains(github.event.pull_request.labels.*.name, 'DO NOT MERGE') == true | |
run: | | |
echo "This PR cannot be merged" | |
exit 1 | |
- name: This PR is not labeled with do not merge | |
if: contains(github.event.pull_request.labels.*.name, 'DO NOT MERGE') == false | |
run: | | |
echo "This PR can be merged" | |
exit 0 |