Commit 409a561
authored
fix(gh-attested): caller template grants packages:read for sast/trivy (#462)
fix(gh-attested): grant packages:read in caller template for sast/trivy
The reusable-sast-codeql (analyze) and reusable-trivy (image) jobs declare
`packages: read`. A reusable's permissions must be a subset of what the caller
grants, so a caller omitting it fails at startup (whole-workflow startup_failure,
no job checks — easy to miss). Grant packages:read for sast/trivy in the caller
template and document the subset rule, so downstream consumers don't hit it.
Also refresh the seam note: gate reusables now expose sarif-artifact /
sarif-filename outputs that reusable-attest-scan consumes.1 parent 77a8754 commit 409a561
1 file changed
Lines changed: 11 additions & 2 deletions
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
0 commit comments