Skip to content

Commit dc11999

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 7862ac8 commit dc11999

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.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:

.github/workflows/rust-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15-
- uses: dtolnay/rust-toolchain@stable
15+
- uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
1616
with:
1717
components: rustfmt, clippy
1818
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
36-
- uses: dtolnay/rust-toolchain@stable
36+
- uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
3737
- name: Install cargo-audit
3838
run: cargo install cargo-audit
3939
- name: Security audit
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
48-
- uses: dtolnay/rust-toolchain@stable
48+
- uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
4949
- name: Install tarpaulin
5050
run: cargo install cargo-tarpaulin
5151
- name: Generate coverage

0 commit comments

Comments
 (0)