Skip to content

Commit 0e1e673

Browse files
dgilmanuniclaude
andauthored
fix: resolve zizmor GitHub Actions security findings (#322)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0f758dd commit 0e1e673

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
push:
77
branches: [main, master, staging, dev]
88

9+
permissions: {}
10+
911
env:
1012
FOUNDRY_PROFILE: ${{ github.event_name == 'push' && 'ci' || 'pr' }}
1113

@@ -20,6 +22,7 @@ jobs:
2022
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2123
with:
2224
submodules: recursive
25+
persist-credentials: false
2326

2427
- name: Install Foundry
2528
uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1

.github/workflows/trufflehog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
2525
with:
2626
fetch-depth: 0
27+
persist-credentials: false
2728

2829
- name: TruffleHog OSS
2930
id: trufflehog

0 commit comments

Comments
 (0)