Skip to content

Commit 93d348e

Browse files
committed
Fix Pinned-Dependencies: pin GitHub Actions to immutable SHAs
Pin all uses: references to full 40-char commit SHAs to prevent supply-chain attacks via mutable tags or branches. This resolves Scorecard Pinned-Dependencies alerts and Hypatia WH004 findings. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 25812d5 commit 93d348e

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/coq-proof-gate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
image: coqorg/coq@sha256:e50d77c4c5a9aa0d76ae1b343d79c5f922da3a75054b79c5dc635895438e4674
4545
options: --user root
4646
steps:
47-
- uses: actions/checkout@v7.0.1
47+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4848

4949
# The coqorg images install Coq into an opam switch owned by the `coq`
5050
# user and put it on PATH via an ENTRYPOINT wrapper. GitHub Actions

‎.github/workflows/publish-jsr.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
runs-on: ubuntu-latest
4242
timeout-minutes: 10
4343
steps:
44-
- uses: actions/checkout@v7.0.1
45-
- uses: denoland/setup-deno@v2.0.5
44+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45+
- uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2.0.5
4646
with:
4747
deno-version: v2.x
4848
- name: Resolve package directory

‎.github/workflows/semgrep.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
container:
2727
image: semgrep/semgrep
2828
steps:
29-
- uses: actions/checkout@v7.0.1
29+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030
- name: Run Semgrep
3131
run: semgrep scan --sarif --output=semgrep.sarif --config=auto .
3232
env:

‎.github/workflows/stdlib-naming.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
timeout-minutes: 10
3131
steps:
32-
- uses: actions/checkout@v7.0.1
32+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3333
- name: Enforce lowercase .affine filenames in stdlib/
3434
run: |
3535
BAD=$(find stdlib -maxdepth 1 -type f -name '*.affine' | grep -E '/stdlib/[A-Z]' || true)

‎.github/workflows/workflow-linter.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 10
2323
steps:
24-
- uses: actions/checkout@v7.0.1
24+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
- name: Check SPDX headers
2626
run: |
2727
errors=0

0 commit comments

Comments
 (0)