fix(ci): resolve all zizmor findings and add zizmor pre-commit checks #107
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: Trigger Breaking Change Notifications | |
| # `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: | |
| types: | |
| - closed | |
| - reopened | |
| - labeled | |
| - unlabeled | |
| permissions: {} | |
| jobs: | |
| trigger-notifier: | |
| if: contains(github.event.pull_request.labels.*.name, 'breaking') | |
| secrets: inherit # zizmor: ignore[secrets-inherit] | |
| uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@branch-25.10 | |
| with: | |
| sender_login: ${{ github.event.sender.login }} | |
| sender_avatar: ${{ github.event.sender.avatar_url }} | |
| repo: ${{ github.repository }} | |
| pr_number: ${{ github.event.pull_request.number }} | |
| pr_title: "${{ github.event.pull_request.title }}" | |
| pr_body: "${{ github.event.pull_request.body || '_Empty PR description_' }}" | |
| pr_base_ref: ${{ github.event.pull_request.base.ref }} | |
| pr_author: ${{ github.event.pull_request.user.login }} | |
| event_action: ${{ github.event.action }} | |
| pr_merged: ${{ github.event.pull_request.merged }} | |
| permissions: | |
| actions: read | |
| contents: read | |
| id-token: write | |
| packages: read | |
| pull-requests: read |