label.yaml 510 B

123456789101112131415161718
  1. name: Check Labels
  2. on:
  3. merge_group:
  4. pull_request:
  5. types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
  6. jobs:
  7. label-check:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: mheap/github-action-required-labels@v5
  11. with:
  12. mode: exactly
  13. count: 0
  14. labels: "work in progress, do not merge"
  15. add_comment: true
  16. message: "This PR is being prevented from merging because it presents one of the blocking labels: {{ provided }}."