☕️ Classic, reliable, trusted test framework for Node.js and the browser
ci: add workflow to block merging PRs with "status: blocked" label (#5955)
Mostafa Nazari722edec1c26a
diff --git a/.github/workflows/blocked-pr.yml b/.github/workflows/blocked-pr.ymlnew file mode 100644index 00000000..0cddad62--- /dev/null+++ b/.github/workflows/blocked-pr.yml@@ -0,0 +1,24 @@+name: Blocked PR Check++on:+ pull_request:+ branches:+ - main+ types: [opened, reopened, synchronize, labeled, unlabeled]++permissions:+ contents: read+ pull-requests: read++jobs:+ not-blocked:+ name: not-blocked+ runs-on: ubuntu-latest+ steps:+ - name: 'Verify "status: blocked" label is not applied'+ uses: mheap/github-action-required-labels@v5+ with:+ mode: exactly+ count: 0+ labels: "status: blocked"+ message: "This PR has the 'status: blocked' label and cannot be merged until that label is removed."