Skip to content

Commit 7e86eff

Browse files
hyperpolymathclaude
andcommitted
SHA-pin GitHub Actions and upgrade deprecated checkout versions
- Upgrade actions/checkout from v2/v3 to SHA-pinned v4 - SHA-pin all unshelled action tags (pages, CodeQL, scorecard, rust-cache, upload/download-artifact, setup-node, cache) - Standardise scorecard-action to v2.4.0 - Fix setup-node@v6 → SHA-pinned v4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2adeb78 commit 7e86eff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
# Initializes the CodeQL tools for scanning.
7676
- name: Initialize CodeQL
77-
uses: github/codeql-action/init@v4
77+
uses: github/codeql-action/init@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
7878
with:
7979
languages: ${{ matrix.language }}
8080
build-mode: ${{ matrix.build-mode }}
@@ -103,6 +103,6 @@ jobs:
103103
exit 1
104104
105105
- name: Perform CodeQL Analysis
106-
uses: github/codeql-action/analyze@v4
106+
uses: github/codeql-action/analyze@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
107107
with:
108108
category: "/language:${{matrix.language}}"

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
persist-credentials: false
2121

2222
- name: Run Scorecard
23-
uses: ossf/scorecard-action@v2.3.1
23+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
2424
with:
2525
results_file: results.sarif
2626
results_format: sarif
2727

2828
- name: Upload results
29-
uses: github/codeql-action/upload-sarif@v3
29+
uses: github/codeql-action/upload-sarif@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
3030
with:
3131
sarif_file: results.sarif

0 commit comments

Comments
 (0)