Commit 58b1c32
authored
[sec-check] pr-validation.yml: add top-level permissions block (contents: read) (#1038)
check-base-branch and validate jobs declared no permissions, so their
GITHUB_TOKEN inherited the repository default. Both are read-only.
unit-tests and testsuite jobs already declare explicit permissions and
are unaffected (job-level permissions override the workflow default).
Fixes #1029
Signed-off-by: kubestellar-hive[bot] <280983584+kubestellar-hive[bot]@users.noreply.github.com>
Co-authored-by: kubestellar-hive[bot] <280983584+kubestellar-hive[bot]@users.noreply.github.com>1 parent 0963bbf commit 58b1c32
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