Skip to content

[MINT-3201]/mto ready for review by #3216

[MINT-3201]/mto ready for review by

[MINT-3201]/mto ready for review by #3216

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