Skip to content

Commit 6a586b6

Browse files
committed
Add permission to GitHub workflows
1 parent bb43915 commit 6a586b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/run_govulncheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
test:
1316
runs-on: ubuntu-latest

.github/workflows/test_go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
test:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)