Commit 44965d6
authored
ci(svf-validation): declare permissions: {contents: read} (#222)
The other 16 workflows in .github/workflows/ declare a top-level
permissions block; svf-validation.yml was missed. Bring it in line with
the sibling convention.
Today the job runs first-party actions only (actions/checkout,
actions/setup-python) plus 'make validate-svf-contracts', so an
over-broad default token has no direct exploit path. The failure mode
being closed off is future drift: a later step adds a third-party
action, or make invokes a script that ends up with GITHUB_TOKEN, and
the workflow inherits the repo default of read+write on contents/PRs/
issues instead of the explicit read this file should always have had.1 parent e3c5357 commit 44965d6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments