Skip to content

Commit 7e3e91d

Browse files
authored
ci: set minimal permisisons on github workflows (#325)
Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
1 parent aa58fcd commit 7e3e91d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci-v2.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ master, qa ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test-gomod-v2:
1114
runs-on: ubuntu-latest

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ master, qa ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test-gomod:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)