Skip to content

Commit f1cd697

Browse files
igotinfectedclaude
andauthored
🔒 fix zizmor findings (#55)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 54f8cf6 commit f1cd697

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
changed: ${{ steps.filter.outputs.changed }}
1919
steps:
2020
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
21+
with:
22+
persist-credentials: false
2123
- name: 🔎 checking for changes
2224
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
2325
id: filter

.github/workflows/build-test-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1919
with:
2020
fetch-depth: 0 # required for MinVer
21+
persist-credentials: false
2122

2223
- name: setup .NET
2324
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
release:
55
types: [published]
66

7+
permissions: {}
8+
79
jobs:
810
build-and-test:
911
uses: ./.github/workflows/build-test-publish.yml
@@ -19,6 +21,7 @@ jobs:
1921
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2022
with:
2123
sparse-checkout: global.json
24+
persist-credentials: false
2225

2326
- uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5
2427
with:

0 commit comments

Comments
 (0)