Yj dartdevembedder 2488 #1359
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
# A workflow to prevent PRs labeled "do-not-submit" from being submitted. | |
name: Do Not Submit | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, labeled, unlabeled] | |
jobs: | |
do-not-submit: | |
if: ${{ contains(github.event.*.labels.*.name, 'do-not-submit') }} | |
name: Prevent submission | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for do-not-submit label | |
run: | | |
echo "Must remove 'do-not-submit' label before submission." | |
exit 1 |