re-route users without elevated privileges from course admin pages to error page. #872
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: Required Labels | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, edited, synchronize] | |
jobs: | |
prevent-donotmerge-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mheap/github-action-required-labels@v5 | |
with: | |
mode: exactly | |
count: 0 | |
labels: "DO NOT MERGE" | |
message: "DO NOT MERGE label is not allowed on this PR" |