Skip to content

Commit 0dc7046

Browse files
authored
Merge pull request #241 from bootjp/alert-autofix-4
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
2 parents fe319b9 + 847cccb commit 0dc7046

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
jobs:
1212
golangci-lint:
1313
name: golangci-lint
14+
permissions:
15+
contents: read
16+
pull-requests: write
1417
runs-on: ubuntu-latest
1518
steps:
1619
- name: Check out code into the Go module directory

0 commit comments

Comments
 (0)