Skip to content

Commit fe319b9

Browse files
authored
Merge pull request #238 from bootjp/alert-autofix-7
Potential fix for code scanning alert no. 7: Workflow does not contain permissions
2 parents 03c3f32 + 33032a7 commit fe319b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/go-mod-fix.yaml

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

77
jobs:
88
go-mod-fix:
9+
permissions:
10+
contents: write
911
runs-on: ubuntu-latest
1012
steps:
1113
- name: checkout

0 commit comments

Comments
 (0)