Commit fe94a5b
authored
fix: move id-token: write to job-level for Scorecard API compliance (#455)
The OpenSSF Scorecard API rejects workflows with global write permissions
when publish_results: true. Move id-token: write from the top-level
permissions block to the analysis job-level permissions to comply with
the action's workflow restrictions.1 parent c724181 commit fe94a5b
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments