[deps]: Update github/codeql-action action to v3.24.9 - autoclosed #2
Workflow file for this run
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: Enforce PR labels | |
on: | |
workflow_call: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
jobs: | |
enforce-label: | |
if: ${{ contains(github.event.*.labels.*.name, 'hold') || contains(github.event.*.labels.*.name, 'needs-qa') }} | |
name: Enforce label | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check for label | |
run: | | |
echo "PRs with the hold or needs-qa labels cannot be merged" | |
echo "### :x: PRs with the hold or needs-qa labels cannot be merged" >> $GITHUB_STEP_SUMMARY | |
exit 1 |