fix(ci): resolve all zizmor findings and add zizmor pre-commit checks #9069
Workflow file for this run
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: "Pull Request Labeler" | |
| # `zizmor` always flags these triggers because they are easy to use | |
| # incorrectly. These usages are ok and don't execute any PR-specific | |
| # code (and so aren't susceptible to exploits from forked PRs) | |
| on: # zizmor: ignore[dangerous-triggers] | |
| - pull_request_target | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" |