Skip to content

Commit 1418ef7

Browse files
Merge pull request #21 from cli/wm-zizmor-push-fixes
Harden CI workflow per zizmor
2 parents fc15383 + 06db288 commit 1418ef7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/push.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
on: [push, pull_request]
22

33
name: CI
4+
5+
permissions:
6+
contents: read
7+
48
jobs:
59
test:
610
strategy:
@@ -13,6 +17,8 @@ jobs:
1317

1418
steps:
1519
- uses: actions/checkout@v6
20+
with:
21+
persist-credentials: false
1622
- name: Setup go
1723
uses: actions/setup-go@v6
1824
with:

0 commit comments

Comments
 (0)