Skip to content

Commit 19d5018

Browse files
hyperpolymathclaude
andcommitted
chore: SHA-pin GitHub Actions for supply chain security
Pin all GitHub Actions to specific commit SHAs instead of mutable tags to prevent supply chain attacks. Tags preserved as comments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 43cff9b commit 19d5018

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: Setup Rust
103103
if: needs.detect.outputs.has_rust == 'true'
104-
uses: dtolnay/rust-toolchain@stable
104+
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
105105
with:
106106
components: rustfmt, clippy
107107

@@ -155,7 +155,7 @@ jobs:
155155

156156
- name: Setup Rust
157157
if: needs.detect.outputs.has_rust == 'true'
158-
uses: dtolnay/rust-toolchain@stable
158+
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
159159

160160
- name: Cache dependencies
161161
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
@@ -217,7 +217,7 @@ jobs:
217217

218218
- name: Setup Rust
219219
if: needs.detect.outputs.has_rust == 'true'
220-
uses: dtolnay/rust-toolchain@stable
220+
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
221221

222222
- name: Install dependencies
223223
run: |

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
find . -type f -perm /111 -name "*.sh" | head -10 || true
1616
1717
- name: Check for secrets
18-
uses: trufflesecurity/trufflehog@main
18+
uses: trufflesecurity/trufflehog@7ee2e0fdffec27d19ccbb8fb3dcf8a83b9d7f9e8 # main
1919
with:
2020
path: ./
2121
base: ${{ github.event.pull_request.base.sha || github.event.before }}
@@ -32,7 +32,7 @@ jobs:
3232
find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files"
3333
3434
- name: EditorConfig check
35-
uses: editorconfig-checker/action-editorconfig-checker@main
35+
uses: editorconfig-checker/action-editorconfig-checker@4054fa83a075fdf090bd098bdb1c09aaf64a4169 # main
3636
continue-on-error: true
3737

3838
docs:

0 commit comments

Comments
 (0)