Update dependency @stylistic/eslint-plugin to v2.13.0 #113
This file contains hidden or 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: Prevent blocked | |
| on: | |
| pull_request_target: | |
| types: [opened, labeled, unlabeled, synchronize] | |
| jobs: | |
| prevent-blocked: | |
| name: Prevent blocked | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: read | |
| steps: | |
| - name: Add notice | |
| uses: actions/github-script@v7 | |
| if: contains(github.event.pull_request.labels.*.name, 'X-Blocked') | |
| with: | |
| script: | | |
| core.setFailed("PR has been labeled with X-Blocked; it cannot be merged."); |