Skip to content

Commit 5d3faa0

Browse files
[CI] Pin all GitHub action uses to commit hash (crystal-lang#16253)
1 parent cd3b454 commit 5d3faa0

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: echo "$GITHUB_SHA" > ./docs/revision.txt
3535

3636
- name: Configure AWS Credentials
37-
uses: aws-actions/configure-aws-credentials@v5
37+
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
3838
with:
3939
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
4040
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
uses: actions/checkout@v5
111111

112112
- name: Spell Check Repo
113-
uses: crate-ci/[email protected]
113+
uses: crate-ci/typos@80c8a4945eec0f6d464eaf9e65ed98ef085283d1 # v1.38.1
114114
env:
115115
CLICOLOR: 1
116116

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
- name: Download Crystal source
3131
uses: actions/checkout@v5
3232

33-
- uses: cachix/install-nix-action@v31
33+
- uses: cachix/install-nix-action@fd24c48048070c1be9acd18c9d369a83f0fe94d7 # v31
3434
with:
3535
extra_nix_config: |
3636
experimental-features = nix-command
3737
38-
- uses: cachix/cachix-action@v16
38+
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
3939
with:
4040
name: crystal-ci
4141
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

.github/workflows/wasm32.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v5
2121

2222
- name: Install wasmtime
23-
uses: mwilliamson/setup-wasmtime-action@v2
23+
uses: mwilliamson/setup-wasmtime-action@bf814d7d8fc3c3a77dfe114bd9fb8a2c575f6ad6 #v2
2424
with:
2525
wasmtime-version: "2.0.0"
2626

.github/zizmor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
actions/*: ref-pin
6+
crystal-lang/*: ref-pin

0 commit comments

Comments
 (0)