Enable CodeQL scan for GitHub Actions #1561
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: Labeler | |
on: | |
pull_request_target: ~ | |
permissions: read-all | |
jobs: | |
label: | |
name: Label | |
permissions: | |
pull-requests: write # To assign labels | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Harden runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
- name: Set labels on Pull Request | |
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | |
with: | |
configuration-path: .github/labeler.yml | |
sync-labels: false |