build(deps): bump the github-actions group across 1 directory with 4 updates #8407
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
| # SPDX-License-Identifier: MIT | |
| name: Check Pull Labels | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, labeled, unlabeled, reopened] | |
| permissions: | |
| pull-requests: read # to read pull request labels | |
| jobs: | |
| check-pull-labels: | |
| name: Check pull labels for blocked labels | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check for the do not merge label | |
| if: "${{ contains(github.event.pull_request.labels.*.name, 'do not merge') == true }}" | |
| run: exit 1 | |
| - name: Check for the blocked label | |
| if: "${{ contains(github.event.pull_request.labels.*.name, 's: blocked') == true }}" | |
| run: exit 1 | |
| - name: Check for the waiting for api/docs label | |
| if: "${{ contains(github.event.pull_request.labels.*.name, 's: waiting for api/docs') == true }}" | |
| run: exit 1 |