Modus Quickstart updates #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: | |
branches: | |
- main | |
types: | |
- opened | |
- ready_for_review | |
- labeled | |
- unlabeled | |
permissions: read-all | |
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 do not merge | |
run: | | |
echo "This PR is labeled do not merge. Remove the label to pass this check." | |
exit 1 |