ci: fix excessive token permissions
Fixes: #14466 The OpenSSF scorecard report https://scorecard.dev/viewer/?uri=github.com/rook/rook warns about excessive token-permissions in the rook project's github CI workflows. This bulk change aims at improving this by 1. adding top-level read permissions where missing for integration tests. 2. adding write permissions as needed for the auto-assign workflow. 3. removing the warned-about and unused create-tag workflow Signed-off-by: Michael Adam <obnox@samba.org> Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
This commit is contained in:
1 parent
c8f9e6549d
commit
9b2b9b7be2
12 files changed
+36
-42
No files matched your search
@@ -22,6 +22,9 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test-validation-tool:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user