Commit 2bef2f8
authored
ci: declare per-job contents: read on the three sonar-* workflows (#158)
sonar-bulk-operations / sonar-create-project / sonar-delete-project are
manual (workflow_dispatch) admin actions that checkout the repo and run
.github/scripts/sonar-manager.sh with a SONAR_TOKEN. Default GITHUB_TOKEN
is only used for the checkout step. Matches the per-job permissions style
already used by ci.yml / ci-test-go.yml / ci-lint-go.yml in this repo.
Signed-off-by: Arpit Jain <arpitjain099@gmail.com>1 parent d92506c commit 2bef2f8
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments