Skip to content

Commit ac2d8bd

Browse files
authored
PLAT-385: Update actions to latest pinned versions and hashes (#2804)
1 parent 9cb8149 commit ac2d8bd

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

.github/actions/setup-playwright/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
2121
- name: Cache Playwright Browsers
2222
id: cache-playwright-browsers
23-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f
23+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
2424
with:
2525
path: ~/.cache/ms-playwright
2626
key: playwright-browsers-${{ runner.os }}-${{ env.PLAYWRIGHT_VERSION }}

.github/actions/setup/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ runs:
55
using: "composite"
66
steps:
77
- name: Derive appropriate SHAs for base and head for `nx affected` commands
8-
uses: nrwl/nx-set-shas@e2e6dc8bce4b0387a05eb687735c39c41580b792
8+
uses: nrwl/nx-set-shas@3e9ad7370203c1e93d109be57f3b72eb0eb511b1 # pin@v4.4.0
99

1010
- name: Setup pnpm
1111
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
1212

1313
- name: Use Node.js
14-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
14+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # pin@v6.3.0
1515
with:
1616
node-version-file: ".nvmrc"
1717
registry-url: https://registry.npmjs.org/

.github/workflows/build-game-bridge.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
steps:
4444
- name: Checkout SDK Repository
4545
id: checkout-sdk
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
4747
with:
4848
ref: "${{ env.TS_SDK_TAG }}"
4949
fetch-depth: 0
@@ -93,13 +93,13 @@ jobs:
9393
run: pnpm nx run @imtbl/game-bridge:build --skip-nx-cache
9494

9595
- name: Cache build artifacts
96-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f
96+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
9797
with:
9898
path: ./packages/game-bridge/dist
9999
key: "${{ runner.os }}-game-bridge-build-${{ env.TS_SDK_TAG }}"
100100

101101
- name: Upload Game Bridge Build
102-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
102+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # pin@v7.0.0
103103
with:
104104
path: ./packages/game-bridge/dist
105105

@@ -110,7 +110,7 @@ jobs:
110110
runs-on: ubuntu-latest-4-cores
111111
steps:
112112
- name: Checkout SDK Repository
113-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
113+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
114114
with:
115115
token: ${{ env.GH_TOKEN }}
116116
ref: "${{ env.TS_SDK_TAG }}"
@@ -122,7 +122,7 @@ jobs:
122122
123123
- name: Restore Cached Build Artifacts
124124
id: restore-cache-game-bridge-build
125-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f
125+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
126126
with:
127127
path: ./packages/game-bridge/dist
128128
key: ${{ runner.os }}-game-bridge-build-${{ env.TS_SDK_TAG }}
@@ -132,7 +132,7 @@ jobs:
132132
run: echo "Game Bridge build cache not restored, exiting" && exit 1
133133

134134
- name: Checkout Unity SDK Repo
135-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
135+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
136136
with:
137137
repository: immutable/unity-immutable-sdk
138138
token: ${{ env.GH_TOKEN }}
@@ -185,7 +185,7 @@ jobs:
185185
runs-on: ubuntu-latest-4-cores
186186
steps:
187187
- name: Checkout SDK Repository
188-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
188+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
189189
with:
190190
token: ${{ env.GH_TOKEN }}
191191
ref: "${{ env.TS_SDK_TAG }}"
@@ -197,7 +197,7 @@ jobs:
197197
198198
- name: Restore Cached Build Artifacts
199199
id: restore-cache-game-bridge-build
200-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f
200+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
201201
with:
202202
path: ./packages/game-bridge/dist
203203
key: ${{ runner.os }}-game-bridge-build-${{ env.TS_SDK_TAG }}
@@ -207,7 +207,7 @@ jobs:
207207
run: echo "Game Bridge build cache not restored, exiting" && exit 1
208208

209209
- name: Checkout Unreal SDK Repo
210-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
210+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
211211
with:
212212
repository: immutable/unreal-immutable-sdk
213213
token: ${{ env.GH_TOKEN }}

.github/workflows/dependency-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: 'Checkout Repository'
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
2323
- name: Dependency Review
2424
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019
2525
with:

.github/workflows/passport-sdk-sample-app-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
2222
steps:
2323
- name: configure aws credentials
24-
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838
24+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # pin@v4.1.0
2525
with:
2626
role-to-assume: ${{ secrets.AWS_IMMUTABLE_PROD_ADMIN_ROLE }}
2727
aws-region: ${{ env.AWS_REGION }}
2828

2929
- name: Checkout repository
30-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
3131
with:
3232
fetch-depth: 0
3333

.github/workflows/pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest-4-cores
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
2121
with:
2222
ref: ${{ github.event.pull_request.head.ref }}
2323
fetch-depth: 0
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest-8-cores
3434
steps:
3535
- name: Checkout code
36-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
3737
with:
3838
ref: ${{ github.event.pull_request.head.ref }}
3939
fetch-depth: 0
@@ -51,7 +51,7 @@ jobs:
5151
NODE_OPTIONS: --max-old-space-size=14366
5252
steps:
5353
- name: Checkout
54-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
54+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
5555
with:
5656
ref: ${{ github.event.pull_request.head.ref }}
5757
fetch-depth: 0
@@ -114,7 +114,7 @@ jobs:
114114
ZKEVM_CHAIN_NAME: "imtbl-zkevm-testnet"
115115
steps:
116116
- name: Checkout code
117-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
117+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
118118
with:
119119
ref: ${{ github.event.pull_request.head.ref }}
120120
fetch-depth: 0

.github/workflows/publish-docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
is_alpha: ${{ steps.alpha_check.outputs.is_alpha }}
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
2525
with:
2626
fetch-depth: 0
2727

@@ -64,12 +64,12 @@ jobs:
6464
run: failure("SDK reference docs should be only published from main branch, current branch ${{ github.ref }}")
6565

6666
- name: Checkout
67-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
6868
with:
6969
fetch-depth: 0
7070

7171
- name: Checkout Docs Repo
72-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
72+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
7373
with:
7474
repository: immutable/docs
7575
token: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }}

.github/workflows/publish-example-tutorials.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout SDK Repo
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
2626
with:
2727
fetch-depth: 0
2828
ref: main
2929

3030
- name: Checkout Docs Repo
31-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
3232
with:
3333
repository: immutable/docs
3434
token: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }}

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: exit 1
8686

8787
- name: Checkout
88-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
88+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.1
8989
with:
9090
fetch-depth: 0
9191
token: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }}
@@ -112,7 +112,7 @@ jobs:
112112

113113
# ! Do NOT remove any of these attestation subject paths - this will cause a Sev 0 incident !
114114
- name: Generate SDK Package Attestations
115-
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018
115+
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # pin@v4.1.0
116116
with:
117117
subject-path: ./imtbl-*.tgz
118118

.github/workflows/stale-issues.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
stale:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@v9
14+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # pin@v10.2.0
1515
with:
1616
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
1717
days-before-issue-stale: 30
1818
days-before-pr-stale: -1
1919
days-before-issue-close: 5
2020
days-before-pr-close: -1
21-
stale-issue-labe: 'stale'
21+
stale-issue-labe: 'stale'

0 commit comments

Comments
 (0)