Skip to content

[MINT-3222] Milestone Solution Link #3413

[MINT-3222] Milestone Solution Link

[MINT-3222] Milestone Solution Link #3413

Workflow file for this run

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