Commit 438f922
authored
Use job-level permissions in caller workflows (#7817)
## Summary
Move permissions from workflow level to job level in caller workflows
for the reusable Claude Code workflow. Updates test-infra's own caller
and the setup script template
Verified job-level permissions working on ciforge:
https://github.com/pytorch/ciforge/actions/runs/22781976814
## Test plan
- [x] Job-level permissions verified working on ciforge (run linked
above)1 parent 90602a5 commit 438f922
File tree
2 files changed
+10
-12
lines changed- .github
- scripts
- workflows
2 files changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
0 commit comments