Rejecting reading a for loop variable after a zero-trip loop #1646
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: Labeling new pull requests | |
| # pull_request_target is safe here: no code from the PR branch is checked | |
| # out or executed; actions/labeler only reads changed file paths via the API. | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - ready_for_review | |
| - synchronize | |
| permissions: | |
| contents: read | |
| jobs: | |
| label-prs: | |
| name: Apply labels based on changed files | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| # Skip drafts (labeled once ready for review) and PRs with many | |
| # commits, which are usually rebase accidents touching every path. | |
| if: > | |
| github.repository == 'NVIDIA/cuda-quantum' && | |
| github.event.pull_request.draft == false | |
| steps: | |
| - uses: actions/labeler@v6 | |
| with: | |
| configuration-path: .github/labeler.yml | |
| sync-labels: false |