chore(deps): update github/codeql-action action to v3.27.9 #504
This file contains 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: Check labels | |
on: | |
pull_request: | |
branches: | |
- master # Trigger only on PRs to master | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
jobs: | |
require-challenge: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: mheap/github-action-required-labels@d25134c992b943fb6ad00c25ea00eb5988c0a9dd # v5.4.2 | |
with: | |
mode: exactly | |
count: 1 | |
labels: "challenged" | |
add_comment: ${{ ! github.event.pull_request.head.repo.fork }} | |
message: "This PR cannot be merged yet because a required label is missing: `{{ provided }}`. It needs to be added before this PR can be merged." |