Commit 7aa5cce
committed
Do not auto-label fork pull requests
A ciflow label makes pytorchbot tag the PR head in this repo, and a tag push
runs the workflow file from that commit -- the fork's copy -- with this repo's
secrets and OIDC. Applying the label automatically therefore hands fork code
role/arc, which can now write to ECR. Requiring a maintainer to label a fork PR
is the trust gate pytorch relies on.
This also closes the same path for ciflow/trunk, which the arm rules already
auto-applied to fork PRs. The cost is that fork PRs no longer get the
informational module labels either.
Authored with Claude Code.1 parent d4c09e3 commit 7aa5cce
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
0 commit comments