[NOREF] Split create milestone mutation #3197
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: PR Label Checks | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize, ready_for_review] | |
# This concurrency group exists with cancel-in-progress: true so that only the latest run of the workflow is executed (as its all that should matter). | |
concurrency: | |
group: pr-label-checks-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
fail_if_label_found: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for label | |
if: ${{ contains( github.event.pull_request.labels.*.name, 'do not merge') }} | |
run: | | |
echo "PR has 'do not merge' label, failing." | |
exit 1 |