Skip to content

Commit add4e73

Browse files
committed
permissions on wf
1 parent a8fb993 commit add4e73

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Go Lint
2+
permissions:
3+
contents: read
24

35
on: [push]
46

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
goreleaser:
11+
permissions:
12+
contents: write
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Checkout code

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Go Test
2+
permissions:
3+
contents: read
24

35
on: [push]
46

0 commit comments

Comments
 (0)