Repository navigation
Fix mask creation not being skipped under torch.compile
#9546
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: PR CI Security Gate | ||
|
Check warning on line 1 in .github/workflows/pr-ci-security-gate.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
| permissions: | ||
| actions: write | ||
| contents: read | ||
| pull-requests: write | ||
| jobs: | ||
| security-gate: | ||
| # Members/collaborators/owners trigger PR CI directly — gate only needed for forks | ||
| if: "!contains(fromJSON('[\"MEMBER\",\"OWNER\",\"COLLABORATOR\"]'), github.event.pull_request.author_association)" | ||
| # Intentionally not passing `secrets: inherit` to avoid leaking secrets in runs triggered from forked repos | ||
| uses: huggingface/transformers-ci/.github/workflows/pr-ci-security-gate.yml@main | ||