Skip to content

Commit a5bf67d

Browse files
committed
ci: address zizmor vulnerabilities
1 parent bcc02ce commit a5bf67d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ on:
1212
- ".golangci.yml"
1313
pull_request:
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
golangci:
1720
name: lint
1821
runs-on: ubuntu-latest
1922
steps:
2023
- name: Checkout repository
2124
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25+
with:
26+
persist-credentials: false
2227
- name: install Go
2328
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2429
with:

0 commit comments

Comments
 (0)