The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 18:30 UTC
ci: pin GitHub Actions to full commit SHAs (#33696)
Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Yordis Prieto committed
Nov 12, 2026 at 16:10 UTC
05eff7f6f9e5286ae556ddb6a87350a7241c4f88
27 files changed
+181
-180
.github/actions/setup-ci-deps/action.yml
+6
-6
@@ -35,7 +35,7 @@ runs:
35
- name: Cache Vite+
36
id: vp_cache
37
if: steps.vp.outputs.version != ''
38
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
38
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
39
with:
40
path: ~/.vite-plus
41
key: vite-plus-home-v2-${{ runner.os }}-${{ runner.arch }}-${{ steps.vp.outputs.version }}-node${{ steps.vp.outputs.node }}-${{ steps.vp.outputs.pnpm }}
@@ -56,7 +56,7 @@ runs:
56
# partial bytes, so a shorter limit costs a slow download only a retry.
57
- name: Setup Vite+
58
if: steps.vp_cache.outputs.cache-hit != 'true'
59
- uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1
59
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
60
env:
61
VP_DOWNLOAD_TIMEOUT: "120"
62
with:
@@ -92,7 +92,7 @@ runs:
92
- name: Restore pnpm store
93
id: pnpm_cache
94
if: inputs.install == 'true'
95
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
95
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
96
with:
97
path: ${{ steps.pnpm_store.outputs.path }}
98
key: pnpm-${{ steps.pnpm_store.outputs.namespace }}-v1-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('pnpm-lock.yaml', 'pnpm-workspace.yaml', 'package.json') }}
@@ -106,7 +106,7 @@ runs:
106
- name: Restore lockfile verification
107
id: pnpm_verified
108
if: inputs.install == 'true'
109
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
109
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
110
with:
111
path: ${{ steps.pnpm_store.outputs.verified }}
112
key: pnpm-verified-v1-${{ hashFiles('pnpm-lock.yaml', 'pnpm-workspace.yaml', 'package.json') }}
@@ -121,7 +121,7 @@ runs:
121
122
- name: Save lockfile verification
123
if: inputs.install == 'true' && steps.pnpm_verified.outputs.cache-hit != 'true'
124
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
124
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
125
with:
126
path: ${{ steps.pnpm_store.outputs.verified }}
127
key: ${{ steps.pnpm_verified.outputs.cache-primary-key }}
@@ -138,7 +138,7 @@ runs:
138
steps.pnpm_cache.outputs.cache-hit != 'true' &&
139
(steps.pnpm_store.outputs.namespace == 'full' ||
140
steps.pnpm_cache.outputs.cache-matched-key != format('pnpm-full-v1-{0}-{1}-{2}', runner.os, runner.arch, hashFiles('pnpm-lock.yaml', 'pnpm-workspace.yaml', 'package.json')))
141
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
141
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
142
with:
143
path: ${{ steps.pnpm_store.outputs.path }}
144
key: ${{ steps.pnpm_cache.outputs.cache-primary-key }}
.github/workflows/agent-context-budget.yml
+1
-1
@@ -24,7 +24,7 @@ jobs:
24
ALLOW_INCREASE: ${{ contains(github.event.pull_request.labels.*.name, 'agent-context-increase') }}
25
steps:
26
- name: Checkout
27
- uses: actions/checkout@v6
27
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
28
with:
29
sparse-checkout: apps/server/src/provider/agentContextBudget.json
30
sparse-checkout-cone-mode: false
.github/workflows/ci.yml
+23
-22
@@ -39,7 +39,7 @@ jobs:
39
# Only the package manifests the script reads to build the dependency graph.
40
# Depth 2 brings the base commit the change is diffed against.
41
- name: Checkout
42
- uses: actions/checkout@v6
42
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
43
with:
44
fetch-depth: 2
45
sparse-checkout: |
@@ -68,7 +68,7 @@ jobs:
68
timeout-minutes: 10
69
steps:
70
- name: Checkout
71
- uses: actions/checkout@v6
71
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
72
with:
73
sparse-checkout: |
74
/*
@@ -92,7 +92,7 @@ jobs:
92
# electron's install.js (run by ensure:electron) reads this cache before it
93
# downloads from GitHub. The key changes only with the Electron version.
94
- name: Cache Electron download
95
- uses: actions/cache@v6
95
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
96
with:
97
path: ~/.cache/electron
98
key: electron-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('node_modules/.pnpm/electron@*/node_modules/electron/package.json') }}
@@ -124,7 +124,7 @@ jobs:
124
timeout-minutes: 10
125
steps:
126
- name: Checkout
127
- uses: actions/checkout@v6
127
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
128
with:
129
sparse-checkout: |
130
/*
@@ -161,7 +161,7 @@ jobs:
161
# electron's install.js (run by ensure:electron) reads this cache before it
162
# downloads from GitHub. The key changes only with the Electron version.
163
- name: Cache Electron download
164
- uses: actions/cache@v6
164
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
165
with:
166
path: ~/.cache/electron
167
key: electron-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('node_modules/.pnpm/electron@*/node_modules/electron/package.json') }}
@@ -213,7 +213,7 @@ jobs:
213
214
- name: Upload desktop launch check
215
if: ${{ failure() && steps.desktop_launch.outcome == 'failure' }}
216
- uses: actions/upload-artifact@v7
216
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
217
with:
218
name: desktop-launch-check
219
path: ${{ runner.temp }}/desktop-launch-check
@@ -231,7 +231,7 @@ jobs:
231
- name: Cache Chromium
232
id: chromium_cache
233
if: ${{ !cancelled() && steps.build.outcome == 'success' && needs.changes.outputs.test_web != 'false' }}
234
- uses: actions/cache@v6
234
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
235
with:
236
path: ~/.cache/ms-playwright
237
key: playwright-chromium-shell-${{ runner.os }}-${{ runner.arch }}-${{ steps.playwright_version.outputs.version }}
@@ -279,7 +279,7 @@ jobs:
279
timeout-minutes: 10
280
steps:
281
- name: Checkout
282
- uses: actions/checkout@v6
282
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
283
with:
284
sparse-checkout: |
285
/*
@@ -314,7 +314,7 @@ jobs:
314
# electron's install.js (run by ensure:electron) reads this cache before it
315
# downloads from GitHub. The key changes only with the Electron version.
316
- name: Cache Electron download
317
- uses: actions/cache@v6
317
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
318
with:
319
path: ~/.cache/electron
320
key: electron-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('node_modules/.pnpm/electron@*/node_modules/electron/package.json') }}
@@ -373,7 +373,7 @@ jobs:
373
shard: [1, 2]
374
steps:
375
- name: Checkout
376
- uses: actions/checkout@v6
376
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
377
with:
378
sparse-checkout: |
379
/*
@@ -394,7 +394,7 @@ jobs:
394
395
- name: Cache Chromium
396
id: chromium_cache
397
- uses: actions/cache@v6
397
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
398
with:
399
path: ~/.cache/ms-playwright
400
key: playwright-chromium-shell-${{ runner.os }}-${{ runner.arch }}-${{ steps.playwright_version.outputs.version }}
@@ -438,7 +438,7 @@ jobs:
438
steps:
439
# Depth 2 brings the base commit the change is diffed against.
440
- name: Checkout
441
- uses: actions/checkout@v6
441
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
442
with:
443
fetch-depth: 2
444
sparse-checkout: |
@@ -469,7 +469,7 @@ jobs:
469
- name: Cache Chromium
470
id: chromium_cache
471
if: steps.changes.outputs.test_server != 'false'
472
- uses: actions/cache@v6
472
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
473
with:
474
path: ~/.cache/ms-playwright
475
key: playwright-chromium-shell-${{ runner.os }}-${{ runner.arch }}-${{ steps.playwright_version.outputs.version }}
@@ -492,7 +492,7 @@ jobs:
492
# Only pushes to main save it, so pull requests never evict each other's entries.
493
- name: Restore Vitest module cache
494
if: steps.changes.outputs.test_server != 'false'
495
- uses: actions/cache/restore@v6
495
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
496
with:
497
path: node_modules/.vitest-cache
498
key: vitest-modules-server-${{ matrix.shard }}-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.sha }}
@@ -511,7 +511,7 @@ jobs:
511
512
- name: Save Vitest module cache
513
if: github.event_name == 'push' && steps.changes.outputs.test_server != 'false'
514
- uses: actions/cache/save@v6
514
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
515
with:
516
path: node_modules/.vitest-cache
517
key: vitest-modules-server-${{ matrix.shard }}-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.sha }}
@@ -541,7 +541,7 @@ jobs:
541
542
- name: Upload thread transfer result
543
if: always() && steps.transfer_budget.outputs.present == 'true'
544
- uses: actions/upload-artifact@v7
544
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
545
with:
546
name: thread-transfer-results
547
path: |
@@ -560,7 +560,7 @@ jobs:
560
timeout-minutes: 10
561
steps:
562
- name: Checkout
563
- uses: actions/checkout@v6
563
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
564
with:
565
sparse-checkout: |
566
/*
@@ -569,8 +569,9 @@ jobs:
569
sparse-checkout-cone-mode: false
570
571
- name: Setup Rust
572
- uses: dtolnay/rust-toolchain@stable
572
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
573
with:
574
+ toolchain: stable
575
components: rustfmt
576
577
- name: Check Rust formatting
@@ -593,7 +594,7 @@ jobs:
594
timeout-minutes: 10
595
steps:
596
- name: Checkout
596
- uses: actions/checkout@v6
597
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
598
with:
599
sparse-checkout: |
600
/*
@@ -601,7 +602,7 @@ jobs:
602
sparse-checkout-cone-mode: false
603
604
- name: Setup Vite+
604
- uses: voidzero-dev/setup-vp@v1
605
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
606
with:
607
node-version-file: package.json
608
cache: true
@@ -626,7 +627,7 @@ jobs:
627
timeout-minutes: 15
628
steps:
629
- name: Checkout
629
- uses: actions/checkout@v6
630
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
631
with:
632
sparse-checkout: |
633
/*
@@ -684,7 +685,7 @@ jobs:
685
# server tests ran must have produced it.
686
- name: Require transfer measurements
687
if: needs.test_server.result == 'success' && needs.changes.outputs.test_server != 'false'
687
- uses: actions/download-artifact@v8
688
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
689
with:
690
name: thread-transfer-results
691
path: ${{ runner.temp }}/thread-transfer
.github/workflows/deploy-relay.yml
+3
-3
@@ -51,7 +51,7 @@ jobs:
51
ALCHEMY_TELEMETRY_DISABLED: "1"
52
steps:
53
- name: Checkout
54
- uses: actions/checkout@v6
54
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
55
with:
56
sparse-checkout: |
57
/*
@@ -59,7 +59,7 @@ jobs:
59
sparse-checkout-cone-mode: false
60
61
- name: Setup Vite+
62
- uses: voidzero-dev/setup-vp@v1
62
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
63
with:
64
node-version-file: package.json
65
cache: true
@@ -83,7 +83,7 @@ jobs:
83
T3CHAT_LINK_SECRET: ${{ secrets.T3CHAT_LINK_SECRET }}
84
85
- name: Publish relay deploy commit status
86
- uses: actions/github-script@v8
86
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
87
with:
88
script: |
89
await github.rest.repos.createCommitStatus({
.github/workflows/desktop-macos-preview-publish.yml
+7
-7
@@ -55,7 +55,7 @@ jobs:
55
steps:
56
- id: pr
57
name: Resolve the pull request behind the build
58
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
58
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
59
with:
60
script: |
61
const run = context.payload.workflow_run;
@@ -134,7 +134,7 @@ jobs:
134
- id: vouch
135
name: Check PR author trust
136
if: steps.pr.outputs.eligible == 'true'
137
- uses: mitchellh/vouch/action/check-user@d66fa29a64600490892131ad87597c30c91fcac4 # v1
137
+ uses: mitchellh/vouch/action/check-user@d66fa29a64600490892131ad87597c30c91fcac4 # v1.5.0
138
with:
139
user: ${{ steps.pr.outputs.author }}
140
allow-fail: true
@@ -149,7 +149,7 @@ jobs:
149
- id: consume
150
name: Consume the preview label
151
if: steps.pr.outputs.eligible == 'true'
152
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
152
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
153
env:
154
PR_NUMBER: ${{ steps.pr.outputs.pr_number }}
155
with:
@@ -271,7 +271,7 @@ jobs:
271
# Only validated bundle files cross into the signing job's artifact.
272
- name: Stage JS bundle for packaging
273
if: steps.gate.outputs.eligible == 'true'
274
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
274
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
275
with:
276
name: js-bundle
277
path: ${{ runner.temp }}/js-bundle
@@ -338,7 +338,7 @@ jobs:
338
pull-requests: write
339
steps:
340
- name: Download macOS artifacts
341
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
341
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
342
with:
343
name: desktop-mac-arm64
344
path: release
@@ -431,7 +431,7 @@ jobs:
431
432
- name: Comment download link
433
if: steps.upload.outputs.download_url != ''
434
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
434
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
435
env:
436
PR_NUMBER: ${{ needs.resolve.outputs.pr_number }}
437
DOWNLOAD_URL: ${{ steps.upload.outputs.download_url }}
@@ -552,7 +552,7 @@ jobs:
552
553
- name: Mark the preview comment as removed
554
if: steps.delete.outputs.removed == 'true'
555
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
555
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
556
with:
557
script: |
558
const marker = "<!-- desktop-macos-preview -->";
.github/workflows/desktop-macos-preview.yml
+2
-2
@@ -50,7 +50,7 @@ jobs:
50
git checkout --detach FETCH_HEAD
51
52
- name: Setup Vite+
53
- uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1
53
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
54
with:
55
node-version-file: package.json
56
cache: true
@@ -98,7 +98,7 @@ jobs:
98
# Same layout as release.yml's js-bundle so release-desktop.yml can
99
# package it unchanged.
100
- name: Upload JS bundle
101
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
101
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
102
with:
103
name: js-bundle
104
path: |
.github/workflows/issue-labels.yml
+1
-1
@@ -18,7 +18,7 @@ jobs:
18
runs-on: ubuntu-24.04
19
steps:
20
- name: Ensure managed issue labels exist
21
- uses: actions/github-script@v7
21
+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
22
with:
23
script: |
24
const managedLabels = [
.github/workflows/mobile-android-apk.yml
+1
-1
@@ -37,7 +37,7 @@ jobs:
37
38
- name: Checkout
39
if: steps.credentials.outputs.present == 'true'
40
- uses: actions/checkout@v6
40
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
41
with:
42
sparse-checkout: .github/scripts
43
.github/workflows/mobile-dev-client.yml
+4
-4
@@ -83,7 +83,7 @@ jobs:
83
T3_NATIVE_CLIENT_VERBOSE: "1"
84
steps:
85
- name: Checkout
86
- uses: actions/checkout@v6
86
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
87
with:
88
ref: ${{ inputs.ref || github.sha }}
89
@@ -144,7 +144,7 @@ jobs:
144
# the runs holding the cache login restore.
145
- name: Mount build cache
146
if: github.event_name != 'pull_request'
147
- uses: useblacksmith/stickydisk@v1
147
+ uses: useblacksmith/stickydisk@3f6be1451e3cad893b778bc93495c80452a5da26 # v1.7.2
148
with:
149
key: ${{ github.repository }}-android-dev-client-${{ matrix.abi }}
150
path: ~/.cache/t3-android-dev-client
@@ -165,7 +165,7 @@ jobs:
165
install-args: --filter=@t3tools/mobile... --filter=@t3tools/scripts...
166
167
- name: Setup Java
168
- uses: actions/setup-java@v5
168
+ uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
169
with:
170
distribution: temurin
171
java-version: 17
@@ -232,7 +232,7 @@ jobs:
232
T3_NATIVE_CLIENT_VERBOSE: "1"
233
steps:
234
- name: Checkout
235
- uses: actions/checkout@v6
235
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
236
with:
237
ref: ${{ inputs.ref || github.sha }}
238
.github/workflows/mobile-eas-preview-fork.yml
+11
-11
@@ -40,7 +40,7 @@ jobs:
40
# If a maintainer removed the label first, that removal wins.
41
- id: consume
42
name: Consume the deployment label
43
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
43
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
44
with:
45
script: |
46
try {
@@ -75,7 +75,7 @@ jobs:
75
# the PR's scripts to read.
76
- name: Checkout reviewed commit
77
if: steps.expo-token.outputs.present == 'true'
78
- uses: actions/checkout@v6
78
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
79
with:
80
ref: ${{ github.event.pull_request.head.sha }}
81
fetch-depth: 0
@@ -84,7 +84,7 @@ jobs:
84
# The comment script comes from main, not from the PR.
85
- name: Checkout trusted scripts
86
if: steps.expo-token.outputs.present == 'true'
87
- uses: actions/checkout@v6
87
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
88
with:
89
path: .trusted
90
sparse-checkout: .github/scripts
@@ -120,7 +120,7 @@ jobs:
120
# trusted workflows with other secrets would restore what PR code wrote.
121
- name: Setup Vite+
122
if: steps.expo-token.outputs.present == 'true'
123
- uses: voidzero-dev/setup-vp@v1
123
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
124
with:
125
node-version-file: package.json
126
cache: false
@@ -138,7 +138,7 @@ jobs:
138
139
- name: Setup EAS
140
if: steps.expo-token.outputs.present == 'true'
141
- uses: expo/expo-github-action@v8
141
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
142
with:
143
# Pinned and installed with npm for the same reasons as mobile-eas-preview.yml.
144
eas-version: 21.8.0
@@ -166,7 +166,7 @@ jobs:
166
167
- name: Deploy with fingerprint check
168
if: steps.expo-token.outputs.present == 'true'
169
- uses: expo/expo-github-action/continuous-deploy-fingerprint@main
169
+ uses: expo/expo-github-action/continuous-deploy-fingerprint@5273c2136bd09c2a341fe3340d3e767ce5a13015 # v9.0.2
170
env:
171
EXPO_TOKEN: ${{ secrets.EXPO_PREVIEW_TOKEN }}
172
RUNNER_DEBUG: "1"
@@ -249,14 +249,14 @@ jobs:
249
ORG_GRADLE_PROJECT_reactNativeArchitectures: armeabi-v7a,arm64-v8a
250
steps:
251
- name: Checkout reviewed commit
252
- uses: actions/checkout@v6
252
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
253
with:
254
ref: ${{ github.event.pull_request.head.sha }}
255
fetch-depth: 0
256
257
# The comment script comes from main, not from the PR.
258
- name: Checkout trusted scripts
259
- uses: actions/checkout@v6
259
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
260
with:
261
path: .trusted
262
sparse-checkout: .github/scripts
@@ -288,7 +288,7 @@ jobs:
288
fi
289
290
- name: Setup Node
291
- uses: actions/setup-node@v6
291
+ uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
292
with:
293
node-version-file: package.json
294
@@ -302,13 +302,13 @@ jobs:
302
run: pnpm install --frozen-lockfile --filter=@t3tools/mobile...
303
304
- name: Setup Java
305
- uses: actions/setup-java@v5
305
+ uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
306
with:
307
distribution: temurin
308
java-version: 17
309
310
- name: Setup EAS
311
- uses: expo/expo-github-action@v8
311
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
312
with:
313
eas-version: latest
314
eas-cache: false
.github/workflows/mobile-eas-preview.yml
+12
-12
@@ -38,7 +38,7 @@ jobs:
38
39
- name: Checkout
40
if: steps.expo-token.outputs.present == 'true'
41
- uses: actions/checkout@v6
41
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
42
with:
43
fetch-depth: 0
44
# No sparse-checkout here: it makes actions/checkout fetch with
@@ -48,7 +48,7 @@ jobs:
48
49
- name: Setup Vite+
50
if: steps.expo-token.outputs.present == 'true'
51
- uses: voidzero-dev/setup-vp@v1
51
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
52
with:
53
node-version-file: package.json
54
cache: true
@@ -66,7 +66,7 @@ jobs:
66
67
- name: Setup EAS
68
if: steps.expo-token.outputs.present == 'true'
69
- uses: expo/expo-github-action@v8
69
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
70
with:
71
# eas-cli 22 renamed `project` to `app` in build JSON, and
72
# continuous-deploy-fingerprint still reads `build.project.ownerAccount`.
@@ -99,7 +99,7 @@ jobs:
99
100
- name: Deploy with fingerprint check
101
if: steps.expo-token.outputs.present == 'true'
102
- uses: expo/expo-github-action/continuous-deploy-fingerprint@main
102
+ uses: expo/expo-github-action/continuous-deploy-fingerprint@5273c2136bd09c2a341fe3340d3e767ce5a13015 # v9.0.2
103
env:
104
EXPO_TOKEN: ${{ secrets.EXPO_PREVIEW_TOKEN }}
105
# The Expo action otherwise suppresses the EAS command's failure output.
@@ -154,7 +154,7 @@ jobs:
154
155
- name: Checkout
156
if: steps.expo-token.outputs.present == 'true'
157
- uses: actions/checkout@v6
157
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
158
with:
159
fetch-depth: 0
160
@@ -187,7 +187,7 @@ jobs:
187
188
- name: Setup Vite+
189
if: steps.expo-token.outputs.present == 'true'
190
- uses: voidzero-dev/setup-vp@v1
190
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
191
with:
192
node-version-file: package.json
193
cache: true
@@ -205,7 +205,7 @@ jobs:
205
206
- name: Setup EAS
207
if: steps.expo-token.outputs.present == 'true'
208
- uses: expo/expo-github-action@v8
208
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
209
with:
210
eas-version: latest
211
token: ${{ secrets.EXPO_PREVIEW_TOKEN }}
@@ -290,7 +290,7 @@ jobs:
290
ORG_GRADLE_PROJECT_reactNativeArchitectures: armeabi-v7a,arm64-v8a
291
steps:
292
- name: Checkout
293
- uses: actions/checkout@v6
293
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
294
with:
295
fetch-depth: 0
296
@@ -349,7 +349,7 @@ jobs:
349
350
- name: Mount build cache
351
if: steps.record.outputs.built != 'true'
352
- uses: useblacksmith/stickydisk@v1
352
+ uses: useblacksmith/stickydisk@3f6be1451e3cad893b778bc93495c80452a5da26 # v1.7.2
353
with:
354
key: ${{ github.repository }}-android-preview-build
355
path: ~/.cache/t3-android-preview
@@ -367,7 +367,7 @@ jobs:
367
368
- name: Setup Node
369
if: steps.record.outputs.built != 'true'
370
- uses: actions/setup-node@v6
370
+ uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
371
with:
372
node-version-file: package.json
373
@@ -384,14 +384,14 @@ jobs:
384
385
- name: Setup Java
386
if: steps.record.outputs.built != 'true'
387
- uses: actions/setup-java@v5
387
+ uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
388
with:
389
distribution: temurin
390
java-version: 17
391
392
- name: Setup EAS
393
if: steps.record.outputs.built != 'true'
394
- uses: expo/expo-github-action@v8
394
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
395
with:
396
eas-version: latest
397
token: ${{ secrets.EXPO_PREVIEW_TOKEN }}
.github/workflows/mobile-eas-production.yml
+13
-13
@@ -124,7 +124,7 @@ jobs:
124
- id: version_app_token
125
name: Mint release app token for version override
126
if: steps.expo-token.outputs.present == 'true' && github.event_name == 'workflow_dispatch' && inputs.mode == 'build' && inputs.version != '' && inputs.profile != 'testflight'
127
- uses: actions/create-github-app-token@v2
127
+ uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
128
with:
129
app-id: ${{ secrets.RELEASE_APP_ID }}
130
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
@@ -132,7 +132,7 @@ jobs:
132
133
- name: Checkout
134
if: steps.expo-token.outputs.present == 'true'
135
- uses: actions/checkout@v6
135
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
136
with:
137
fetch-depth: 0
138
token: ${{ steps.version_app_token.outputs.token || github.token }}
@@ -143,7 +143,7 @@ jobs:
143
144
- name: Setup Vite+
145
if: steps.expo-token.outputs.present == 'true'
146
- uses: voidzero-dev/setup-vp@v1
146
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
147
with:
148
node-version-file: package.json
149
cache: true
@@ -161,7 +161,7 @@ jobs:
161
162
- name: Setup EAS
163
if: steps.expo-token.outputs.present == 'true'
164
- uses: expo/expo-github-action@v8
164
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
165
with:
166
eas-version: latest
167
token: ${{ secrets.EXPO_PRODUCTION_TOKEN }}
@@ -498,7 +498,7 @@ jobs:
498
BUILD_TAG: mobile-android-build/${{ needs.production.outputs.android_version }}/${{ needs.production.outputs.android_fingerprint }}
499
steps:
500
- name: Checkout
501
- uses: actions/checkout@v6
501
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
502
with:
503
ref: ${{ needs.production.outputs.android_sha }}
504
fetch-depth: 0
@@ -551,7 +551,7 @@ jobs:
551
552
- name: Mount build cache
553
if: steps.record.outputs.built != 'true'
554
- uses: useblacksmith/stickydisk@v1
554
+ uses: useblacksmith/stickydisk@3f6be1451e3cad893b778bc93495c80452a5da26 # v1.7.2
555
with:
556
key: ${{ github.repository }}-android-store-build
557
path: ~/.cache/t3-android-store
@@ -569,7 +569,7 @@ jobs:
569
570
- name: Setup Node
571
if: steps.record.outputs.built != 'true'
572
- uses: actions/setup-node@v6
572
+ uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
573
with:
574
node-version-file: package.json
575
@@ -588,14 +588,14 @@ jobs:
588
589
- name: Setup Java
590
if: steps.record.outputs.built != 'true'
591
- uses: actions/setup-java@v5
591
+ uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
592
with:
593
distribution: temurin
594
java-version: 17
595
596
- name: Setup EAS
597
if: steps.record.outputs.built != 'true'
598
- uses: expo/expo-github-action@v8
598
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
599
with:
600
eas-version: latest
601
token: ${{ secrets.EXPO_PRODUCTION_TOKEN }}
@@ -642,7 +642,7 @@ jobs:
642
# A --path submission doesn't keep its archive on EAS; this is the only downloadable copy.
643
- name: Keep the AAB
644
if: steps.record.outputs.built != 'true'
645
- uses: actions/upload-artifact@v7
645
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
646
with:
647
name: android-store-aab-${{ github.run_id }}-${{ github.run_attempt }}
648
path: ${{ runner.temp }}/t3code.aab
@@ -704,7 +704,7 @@ jobs:
704
ALLOW_XCODE_RC: ${{ vars.MOBILE_IOS_ALLOW_XCODE_RC == 'true' }}
705
steps:
706
- name: Checkout
707
- uses: actions/checkout@v6
707
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
708
with:
709
ref: ${{ needs.production.outputs.ios_sha }}
710
fetch-depth: 0
@@ -761,7 +761,7 @@ jobs:
761
762
- name: Setup Node
763
if: steps.record.outputs.built != 'true'
764
- uses: actions/setup-node@v6
764
+ uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
765
with:
766
node-version-file: package.json
767
@@ -780,7 +780,7 @@ jobs:
780
781
- name: Setup EAS
782
if: steps.record.outputs.built != 'true'
783
- uses: expo/expo-github-action@v8
783
+ uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
784
with:
785
eas-version: latest
786
token: ${{ secrets.EXPO_PRODUCTION_TOKEN }}
.github/workflows/mobile-fingerprint-check.yml
+3
-3
@@ -33,7 +33,7 @@ jobs:
33
NODE_OPTIONS: --max-old-space-size=8192
34
steps:
35
- name: Checkout
36
- uses: actions/checkout@v6
36
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
37
with:
38
# The merge ref can advance after the event is queued. Pin its commit
39
# and compare against its first parent, rather than the event's base.
@@ -58,7 +58,7 @@ jobs:
58
59
- name: Setup Vite+
60
if: steps.changes.outputs.relevant == 'true'
61
- uses: voidzero-dev/setup-vp@v1
61
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
62
with:
63
node-version-file: package.json
64
cache: true
@@ -136,7 +136,7 @@ jobs:
136
printf '%s\n' "$CHANGED_PLATFORMS" > "$RUNNER_TEMP/fingerprint-result/changed-platforms"
137
138
- name: Upload changed platforms
139
- uses: actions/upload-artifact@v7
139
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
140
with:
141
name: fingerprint-result
142
path: ${{ runner.temp }}/fingerprint-result
.github/workflows/mobile-fingerprint-label.yml
+2
-2
@@ -33,7 +33,7 @@ jobs:
33
steps:
34
- id: pr
35
name: Resolve the pull request behind the check
36
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
36
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
37
with:
38
script: |
39
const run = context.payload.workflow_run;
@@ -100,7 +100,7 @@ jobs:
100
101
- name: Sync native change label
102
if: steps.pr.outputs.pr_number != ''
103
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
103
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
104
env:
105
PR_NUMBER: ${{ steps.pr.outputs.pr_number }}
106
CHANGED_PLATFORMS: ${{ steps.result.outputs.changed_platforms }}
.github/workflows/mobile-showcase-screenshots.yml
+9
-9
@@ -51,7 +51,7 @@ jobs:
51
timeout-minutes: ${{ inputs.theme == 'all' && 300 || 60 }}
52
steps:
53
- name: Checkout
54
- uses: actions/checkout@v6
54
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
55
with:
56
sparse-checkout: |
57
/*
@@ -59,7 +59,7 @@ jobs:
59
sparse-checkout-cone-mode: false
60
61
- name: Setup Vite+
62
- uses: voidzero-dev/setup-vp@v1
62
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
63
with:
64
node-version-file: package.json
65
cache: true
@@ -98,7 +98,7 @@ jobs:
98
99
- name: Upload iOS screenshots
100
if: always()
101
- uses: actions/upload-artifact@v7
101
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
102
with:
103
name: app-store-connect-screenshots
104
path: artifacts/app-store/screenshots/apple/
@@ -116,7 +116,7 @@ jobs:
116
T3_SHOWCASE_ANDROID_ABI: x86_64
117
steps:
118
- name: Checkout
119
- uses: actions/checkout@v6
119
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
120
with:
121
sparse-checkout: |
122
/*
@@ -124,7 +124,7 @@ jobs:
124
sparse-checkout-cone-mode: false
125
126
- name: Setup Vite+
127
- uses: voidzero-dev/setup-vp@v1
127
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
128
with:
129
node-version-file: package.json
130
cache: true
@@ -142,13 +142,13 @@ jobs:
142
"$vp_pnpm_bin/pnpm" --version
143
144
- name: Setup Java
145
- uses: actions/setup-java@v5
145
+ uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
146
with:
147
distribution: temurin
148
java-version: 17
149
150
- name: Setup Gradle cache
151
- uses: gradle/actions/setup-gradle@v5
151
+ uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
152
153
- name: Enable KVM
154
run: |
@@ -158,7 +158,7 @@ jobs:
158
sudo udevadm trigger --name-match=kvm
159
160
- name: Capture Android showcase
161
- uses: reactivecircus/android-emulator-runner@v2
161
+ uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2.38.0
162
with:
163
api-level: 36
164
target: google_apis
@@ -175,7 +175,7 @@ jobs:
175
176
- name: Upload Android screenshots
177
if: always()
178
- uses: actions/upload-artifact@v7
178
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
179
with:
180
name: google-play-screenshots
181
path: artifacts/app-store/screenshots/google-play/
.github/workflows/pr-limits.yml
+4
-4
@@ -34,13 +34,13 @@ jobs:
34
# branch and never run PR code. Cone mode also checks out the files beside
35
# .github/scripts, which is where TRIAGE_EXEMPTIONS.td and VOUCHED.td live.
36
- name: Checkout trusted scripts
37
- uses: actions/checkout@v6
37
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
38
with:
39
ref: ${{ github.event.repository.default_branch }}
40
sparse-checkout: .github/scripts
41
42
- name: Close PRs over the limit
43
- uses: actions/github-script@v8
43
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
44
env:
45
DRY_RUN: ${{ vars.PR_LIMITS_ENFORCE != 'true' }}
46
with:
@@ -57,13 +57,13 @@ jobs:
57
cancel-in-progress: false
58
steps:
59
- name: Checkout trusted scripts
60
- uses: actions/checkout@v6
60
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
61
with:
62
ref: ${{ github.event.repository.default_branch }}
63
sparse-checkout: .github/scripts
64
65
- name: Request rebases and close what went unanswered
66
- uses: actions/github-script@v8
66
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
67
env:
68
DRY_RUN: ${{ vars.PR_LIMITS_ENFORCE != 'true' || (github.event_name == 'workflow_dispatch' && inputs.dry_run) }}
69
with:
.github/workflows/pr-size.yml
+5
-5
@@ -16,7 +16,7 @@ jobs:
16
steps:
17
- id: config
18
name: Build PR size label config
19
- uses: actions/github-script@v8
19
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
20
with:
21
result-encoding: string
22
script: |
@@ -64,7 +64,7 @@ jobs:
64
issues: write
65
steps:
66
- name: Ensure PR size labels exist
67
- uses: actions/github-script@v8
67
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
68
env:
69
PR_SIZE_LABELS_JSON: ${{ needs.prepare-config.outputs.labels_json }}
70
with:
@@ -128,11 +128,11 @@ jobs:
128
# git data. Do not add dependency installs, build/test scripts, or cache
129
# actions here; use pull_request plus workflow_run for that pattern instead.
130
- name: Checkout base repository
131
- uses: actions/checkout@v4
131
+ uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
132
with:
133
fetch-depth: 0
134
- name: Sync PR size label
135
- uses: actions/github-script@v8
135
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
136
env:
137
PR_SIZE_LABELS_JSON: ${{ needs.prepare-config.outputs.labels_json }}
138
with:
@@ -295,7 +295,7 @@ jobs:
295
);
296
# Reads the script from the base checkout above; the PR's own commits are only diffed.
297
- name: Report test suite growth
298
- uses: actions/github-script@v8
298
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
299
with:
300
script: |
301
const { execFileSync } = require("node:child_process");
.github/workflows/pr-vouch.yml
+3
-3
@@ -29,7 +29,7 @@ jobs:
29
targets: ${{ steps.collect.outputs.targets }}
30
steps:
31
- id: collect
32
- uses: actions/github-script@v8
32
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
33
with:
34
script: |
35
if (context.eventName === "pull_request_target") {
@@ -81,7 +81,7 @@ jobs:
81
steps:
82
- id: vouch
83
name: Check PR author trust
84
- uses: mitchellh/vouch/action/check-user@v1
84
+ uses: mitchellh/vouch/action/check-user@d66fa29a64600490892131ad87597c30c91fcac4 # v1.5.0
85
with:
86
user: ${{ matrix.target.user }}
87
allow-fail: true
@@ -89,7 +89,7 @@ jobs:
89
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
91
- name: Sync PR labels
92
- uses: actions/github-script@v8
92
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
93
env:
94
PR_NUMBER: ${{ matrix.target.number }}
95
VOUCH_STATUS: ${{ steps.vouch.outputs.status }}
.github/workflows/publish-aur.yml
+1
-1
@@ -48,7 +48,7 @@ jobs:
48
run: pacman -Syu --noconfirm --needed git github-cli jq namcap openssh sudo
49
50
- name: Checkout packaging sources
51
- uses: actions/checkout@v6
51
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
52
53
- name: Create unprivileged build user
54
run: |
.github/workflows/relay-preview-cleanup.yml
+4
-4
@@ -58,7 +58,7 @@ jobs:
58
ALCHEMY_TELEMETRY_DISABLED: "1"
59
steps:
60
- name: Checkout default branch
61
- uses: actions/checkout@v6
61
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
62
with:
63
ref: ${{ github.event.repository.default_branch }}
64
sparse-checkout: |
@@ -67,7 +67,7 @@ jobs:
67
sparse-checkout-cone-mode: false
68
69
- name: Setup Vite+
70
- uses: voidzero-dev/setup-vp@v1
70
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
71
with:
72
node-version-file: package.json
73
cache: true
@@ -170,7 +170,7 @@ jobs:
170
171
- name: Checkout default branch
172
if: steps.eligible.outputs.eligible == 'yes'
173
- uses: actions/checkout@v6
173
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
174
with:
175
ref: ${{ github.event.repository.default_branch }}
176
sparse-checkout: |
@@ -180,7 +180,7 @@ jobs:
180
181
- name: Setup Vite+
182
if: steps.eligible.outputs.eligible == 'yes'
183
- uses: voidzero-dev/setup-vp@v1
183
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
184
with:
185
node-version-file: package.json
186
cache: true
.github/workflows/relay-preview.yml
+2
-2
@@ -53,7 +53,7 @@ jobs:
53
fi
54
55
- name: Checkout
56
- uses: actions/checkout@v6
56
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
57
with:
58
ref: ${{ github.event.pull_request.head.sha }}
59
sparse-checkout: |
@@ -62,7 +62,7 @@ jobs:
62
sparse-checkout-cone-mode: false
63
64
- name: Setup Vite+
65
- uses: voidzero-dev/setup-vp@v1
65
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
66
with:
67
node-version-file: package.json
68
cache: true
.github/workflows/release-desktop.yml
+21
-21
@@ -157,7 +157,7 @@ jobs:
157
# artifact leaves the cache empty, so installation runs the checks again.
158
- name: Download dependency verification
159
continue-on-error: true
160
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
160
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
161
with:
162
name: release-dependency-verification
163
path: ${{ runner.temp }}/pnpm-metadata
@@ -183,7 +183,7 @@ jobs:
183
184
- name: Restore staged install cache
185
id: stage_pnpm_cache
186
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
186
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
187
with:
188
path: ${{ steps.stage_pnpm.outputs.dir }}
189
key: ${{ steps.stage_pnpm.outputs.prefix }}${{ github.run_id }}-${{ github.run_attempt }}
@@ -195,7 +195,7 @@ jobs:
195
196
- name: Cache resource monitor
197
id: resource_monitor_cache
198
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
198
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
199
with:
200
path: native/resource-monitor/target/${{ inputs.rust_target }}/release/t3-resource-monitor${{ inputs.platform == 'win' && '.exe' || '' }}
201
key: resource-monitor-${{ inputs.rust_target }}-${{ hashFiles('native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}
@@ -203,7 +203,7 @@ jobs:
203
- name: Cache Linux capture helpers
204
if: inputs.platform == 'linux'
205
id: capture_helper_cache
206
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
206
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
207
with:
208
path: |
209
native/kde-snap-shot/target/${{ inputs.rust_target }}/release/t3-kde-snap-shot
@@ -216,7 +216,7 @@ jobs:
216
# files and downloads again on a mismatch, so only raw archives are cached.
217
- name: Cache Linux packaging tool archives
218
if: inputs.platform == 'linux'
219
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
219
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
220
with:
221
path: |
222
~/.cache/electron-builder/appimage@*/appimage-tools-runtime-*.tar.gz
@@ -234,14 +234,14 @@ jobs:
234
235
- name: Setup Rust
236
if: steps.resource_monitor_cache.outputs.cache-hit != 'true' || (inputs.platform == 'linux' && steps.capture_helper_cache.outputs.cache-hit != 'true')
237
- uses: dtolnay/rust-toolchain@6bed0761d98439e5a578e2877258200ad565ba87 # stable
237
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
238
with:
239
toolchain: stable
240
targets: ${{ inputs.rust_target }}
241
242
- name: Download relay client tracing config
243
if: inputs.relay_client_tracing
244
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
244
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
245
with:
246
name: relay-client-tracing-config
247
path: ${{ runner.temp }}/relay-client-tracing
@@ -262,14 +262,14 @@ jobs:
262
# ancestor of its paths), so extracting into `apps` restores
263
# apps/server/dist and apps/desktop/dist-electron at their build paths.
264
- name: Download JS bundle
265
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
265
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
266
with:
267
name: js-bundle
268
path: apps
269
270
- name: Install cargo-xwin
271
if: inputs.platform == 'win' && steps.resource_monitor_cache.outputs.cache-hit != 'true'
272
- uses: taiki-e/install-action@8cca0918f8471c33515202b73f56ab27f2bed283 # v2
272
+ uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3
273
with:
274
tool: cargo-xwin@0.23.1
275
@@ -317,7 +317,7 @@ jobs:
317
- name: Restore target Node.js for the CLI executable
318
id: target_node_cache
319
if: inputs.cli_archive && inputs.platform == 'win'
320
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
320
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
321
with:
322
path: ${{ runner.temp }}/node-download
323
key: node-download-v${{ steps.target_node.outputs.version }}-win-${{ inputs.arch }}
@@ -344,7 +344,7 @@ jobs:
344
# Saved right away so a later failure in this job still keeps the download.
345
- name: Save target Node.js for the CLI executable
346
if: inputs.cli_archive && inputs.platform == 'win' && steps.target_node_cache.outputs.cache-hit != 'true'
347
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
347
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
348
with:
349
path: ${{ runner.temp }}/node-download
350
key: ${{ steps.target_node_cache.outputs.cache-primary-key }}
@@ -479,7 +479,7 @@ jobs:
479
# macOS uploads its archive after "Await CLI notarization" instead.
480
- name: Upload CLI archive
481
if: inputs.cli_archive && inputs.platform != 'mac'
482
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
482
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
483
with:
484
name: cli-${{ inputs.platform }}-${{ inputs.arch }}
485
path: release-cli/*
@@ -559,7 +559,7 @@ jobs:
559
560
- name: Download Linux CLI archive for WSL
561
if: inputs.platform == 'win'
562
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
562
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
563
with:
564
name: cli-linux-${{ inputs.arch }}
565
path: wsl-runtime
@@ -680,7 +680,7 @@ jobs:
680
681
- name: Upload notarized CLI archive
682
if: inputs.cli_archive && inputs.platform == 'mac'
683
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
683
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
684
with:
685
name: cli-${{ inputs.platform }}-${{ inputs.arch }}
686
path: release-cli/*
@@ -700,7 +700,7 @@ jobs:
700
701
- name: Save staged install cache
702
if: steps.stage_pnpm_changed.outputs.changed == 'true'
703
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
703
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
704
with:
705
path: ${{ steps.stage_pnpm.outputs.dir }}
706
key: ${{ steps.stage_pnpm_cache.outputs.cache-primary-key }}
@@ -731,7 +731,7 @@ jobs:
731
732
- name: Upload launch check output
733
if: failure() && inputs.launch_check
734
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
734
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
735
with:
736
name: desktop-launch-check-${{ inputs.platform }}-${{ inputs.arch }}
737
path: ${{ runner.temp }}/desktop-launch-check
@@ -759,7 +759,7 @@ jobs:
759
760
- name: Upload verification inputs
761
if: inputs.verify_runner != ''
762
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
762
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
763
with:
764
name: verify-${{ inputs.platform }}-${{ inputs.arch }}
765
path: verify/*
@@ -826,7 +826,7 @@ jobs:
826
cp "$source_path" "$target_dir/$binary_name"
827
828
- name: Upload build artifacts
829
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
829
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
830
with:
831
name: desktop-${{ inputs.platform }}-${{ inputs.arch }}
832
path: release-publish/*
@@ -835,7 +835,7 @@ jobs:
835
compression-level: 0
836
837
- name: Upload resource monitor
838
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
838
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
839
with:
840
name: resource-monitor-${{ inputs.resource_key }}
841
path: resource-monitor-publish/${{ inputs.resource_key }}/*
@@ -849,14 +849,14 @@ jobs:
849
timeout-minutes: 15
850
steps:
851
- name: Download verification inputs
852
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
852
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
853
with:
854
name: verify-${{ inputs.platform }}-${{ inputs.arch }}
855
path: verify
856
857
- name: Download CLI archive
858
if: inputs.cli_archive
859
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
859
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
860
with:
861
name: cli-${{ inputs.platform }}-${{ inputs.arch }}
862
path: release-cli
.github/workflows/release.yml
+31
-31
@@ -61,13 +61,13 @@ jobs:
61
has_changes: ${{ steps.resolve.outputs.has_changes }}
62
steps:
63
- name: Checkout
64
- uses: actions/checkout@v6
64
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
65
with:
66
sparse-checkout: .github/scripts
67
68
- id: resolve
69
name: Resolve release commit
70
- uses: actions/github-script@v8
70
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
71
env:
72
DISPATCH_CHANNEL: ${{ inputs.channel }}
73
with:
@@ -124,7 +124,7 @@ jobs:
124
ref: ${{ needs.resolve_commit.outputs.ref }}
125
steps:
126
- name: Checkout
127
- uses: actions/checkout@v6
127
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
128
with:
129
ref: ${{ needs.resolve_commit.outputs.ref }}
130
fetch-depth: 0
@@ -228,7 +228,7 @@ jobs:
228
# Share only the verification results, not the large registry metadata cache.
229
- name: Upload dependency verification
230
continue-on-error: true
231
- uses: actions/upload-artifact@v7
231
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
232
with:
233
name: release-dependency-verification
234
path: ${{ runner.temp }}/pnpm-metadata/lockfile-verified.jsonl
@@ -241,7 +241,7 @@ jobs:
241
timeout-minutes: 10
242
steps:
243
- name: Checkout
244
- uses: actions/checkout@v6
244
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
245
with:
246
ref: ${{ needs.preflight.outputs.ref }}
247
sparse-checkout: |
@@ -273,7 +273,7 @@ jobs:
273
timeout-minutes: 10
274
steps:
275
- name: Checkout
276
- uses: actions/checkout@v6
276
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
277
with:
278
ref: ${{ needs.preflight.outputs.ref }}
279
sparse-checkout: |
@@ -313,7 +313,7 @@ jobs:
313
shard: [1, 2]
314
steps:
315
- name: Checkout
316
- uses: actions/checkout@v6
316
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
317
with:
318
ref: ${{ needs.preflight.outputs.ref }}
319
sparse-checkout: |
@@ -332,7 +332,7 @@ jobs:
332
333
- name: Cache Chromium
334
id: chromium_cache
335
- uses: actions/cache@v6
335
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
336
with:
337
path: ~/.cache/ms-playwright
338
key: playwright-chromium-shell-${{ runner.os }}-${{ runner.arch }}-${{ steps.playwright_version.outputs.version }}
@@ -372,7 +372,7 @@ jobs:
372
shard: [1, 2, 3, 4, 5, 6, 7, 8]
373
steps:
374
- name: Checkout
375
- uses: actions/checkout@v6
375
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
376
with:
377
ref: ${{ needs.preflight.outputs.ref }}
378
sparse-checkout: |
@@ -425,7 +425,7 @@ jobs:
425
CLERK_CLI_OAUTH_CLIENT_ID: ${{ vars.CLERK_CLI_OAUTH_CLIENT_ID }}
426
steps:
427
- name: Checkout
428
- uses: actions/checkout@v6
428
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
429
with:
430
ref: ${{ needs.resolve_commit.outputs.ref }}
431
sparse-checkout: |
@@ -465,7 +465,7 @@ jobs:
465
} > "$RUNNER_TEMP/relay-client-tracing.env"
466
467
- name: Upload relay client tracing config
468
- uses: actions/upload-artifact@v7
468
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
469
with:
470
name: relay-client-tracing-config
471
path: ${{ runner.temp }}/relay-client-tracing.env
@@ -535,7 +535,7 @@ jobs:
535
T3CODE_RELAY_URL: ${{ needs.relay_public_config.outputs.relay_url }}
536
steps:
537
- name: Checkout
538
- uses: actions/checkout@v6
538
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
539
with:
540
ref: ${{ needs.preflight.outputs.ref }}
541
sparse-checkout: |
@@ -547,7 +547,7 @@ jobs:
547
# artifact leaves the cache empty, so installation runs the checks again.
548
- name: Download dependency verification
549
continue-on-error: true
550
- uses: actions/download-artifact@v8
550
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
551
with:
552
name: release-dependency-verification
553
path: ${{ runner.temp }}/pnpm-metadata
@@ -560,7 +560,7 @@ jobs:
560
pnpm_config_cache_dir: ${{ runner.temp }}/pnpm-metadata
561
562
- name: Download relay client tracing config
563
- uses: actions/download-artifact@v8
563
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
564
with:
565
name: relay-client-tracing-config
566
path: ${{ runner.temp }}/relay-client-tracing
@@ -606,7 +606,7 @@ jobs:
606
# Two paths under apps/ so the artifact root is apps/; consumers download
607
# into `apps` to restore both at their original locations.
608
- name: Upload JS bundle
609
- uses: actions/upload-artifact@v7
609
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
610
with:
611
name: js-bundle
612
path: |
@@ -624,7 +624,7 @@ jobs:
624
# this upload by its ID, which a publish_cli-only rerun keeps.
625
- name: Upload the npm launcher
626
id: npm_launcher
627
- uses: actions/upload-artifact@v7
627
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
628
with:
629
name: npm-launcher
630
path: npm-packages/t3.tgz
@@ -819,7 +819,7 @@ jobs:
819
pull-requests: read
820
steps:
821
- name: Checkout
822
- uses: actions/checkout@v6
822
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
823
with:
824
ref: ${{ needs.preflight.outputs.ref }}
825
# Release notes need history back to the previous tag, not file contents.
@@ -854,14 +854,14 @@ jobs:
854
fi
855
856
- name: Download all desktop artifacts
857
- uses: actions/download-artifact@v8
857
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
858
with:
859
pattern: desktop-*
860
merge-multiple: true
861
path: release-assets
862
863
- name: Download all CLI archives
864
- uses: actions/download-artifact@v8
864
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
865
with:
866
pattern: cli-*
867
merge-multiple: true
@@ -1004,7 +1004,7 @@ jobs:
1004
1005
- name: Publish release
1006
if: needs.preflight.outputs.previous_tag != ''
1007
- uses: softprops/action-gh-release@v3
1007
+ uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
1008
with:
1009
tag_name: ${{ needs.preflight.outputs.tag }}
1010
target_commitish: ${{ needs.preflight.outputs.ref }}
@@ -1021,7 +1021,7 @@ jobs:
1021
1022
- name: Publish first release
1023
if: needs.preflight.outputs.previous_tag == ''
1024
- uses: softprops/action-gh-release@v3
1024
+ uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
1025
with:
1026
tag_name: ${{ needs.preflight.outputs.tag }}
1027
target_commitish: ${{ needs.preflight.outputs.ref }}
@@ -1062,7 +1062,7 @@ jobs:
1062
steps:
1063
# Only what setup-ci-deps reads to install the project's Node and npm.
1064
- name: Checkout
1065
- uses: actions/checkout@v6
1065
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1066
with:
1067
ref: ${{ needs.preflight.outputs.ref }}
1068
sparse-checkout: |
@@ -1089,7 +1089,7 @@ jobs:
1089
fi
1090
1091
- name: Download the npm launcher
1092
- uses: actions/download-artifact@v8
1092
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
1093
with:
1094
artifact-ids: ${{ needs.build_bundle.outputs.npm_launcher_artifact_id }}
1095
path: npm-packages
@@ -1151,7 +1151,7 @@ jobs:
1151
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
1152
steps:
1153
- name: Checkout
1154
- uses: actions/checkout@v6
1154
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1155
with:
1156
ref: ${{ needs.preflight.outputs.ref }}
1157
sparse-checkout: |
@@ -1165,7 +1165,7 @@ jobs:
1165
install-args: --filter=@t3tools/scripts... --filter=@t3tools/web...
1166
1167
- name: Download relay client tracing config
1168
- uses: actions/download-artifact@v8
1168
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
1169
with:
1170
name: relay-client-tracing-config
1171
path: ${{ runner.temp }}/relay-client-tracing
@@ -1251,7 +1251,7 @@ jobs:
1251
# Only what setup-ci-deps reads to install vp and Node. The alias call
1252
# names its deployment and scope, so it reads nothing else from the repo.
1253
- name: Checkout
1254
- uses: actions/checkout@v6
1254
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1255
with:
1256
ref: ${{ needs.preflight.outputs.ref }}
1257
sparse-checkout: |
@@ -1322,7 +1322,7 @@ jobs:
1322
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
1323
steps:
1324
- name: Checkout
1325
- uses: actions/checkout@v6
1325
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1326
with:
1327
ref: ${{ needs.preflight.outputs.ref }}
1328
sparse-checkout: |
@@ -1388,7 +1388,7 @@ jobs:
1388
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
1389
steps:
1390
- name: Checkout
1391
- uses: actions/checkout@v6
1391
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1392
with:
1393
ref: ${{ needs.preflight.outputs.ref }}
1394
sparse-checkout: |
@@ -1426,14 +1426,14 @@ jobs:
1426
steps:
1427
- id: app_token
1428
name: Mint release app token
1429
- uses: actions/create-github-app-token@v2
1429
+ uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
1430
with:
1431
app-id: ${{ secrets.RELEASE_APP_ID }}
1432
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
1433
owner: ${{ github.repository_owner }}
1434
1435
- name: Checkout
1436
- uses: actions/checkout@v6
1436
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1437
with:
1438
ref: main
1439
fetch-depth: 0
@@ -1517,7 +1517,7 @@ jobs:
1517
timeout-minutes: 10
1518
steps:
1519
- name: Checkout
1520
- uses: actions/checkout@v6
1520
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1521
with:
1522
ref: ${{ needs.preflight.outputs.ref }}
1523
sparse-checkout: |
.github/workflows/stale-needs-more-info.yml
+1
-1
@@ -13,7 +13,7 @@ jobs:
13
stale:
14
runs-on: ubuntu-latest
15
steps:
16
- - uses: actions/stale@v9
16
+ - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
17
with:
18
only-issue-labels: "needs more info"
19
# The label is applied by the triage flow, so never auto-mark; close 7 days after it was added.
.github/workflows/thread-transfer-report.yml
+5
-5
@@ -22,7 +22,7 @@ jobs:
22
# workflow_run has a write-capable token even for fork PRs. Only load the
23
# publisher from the trusted default branch and never execute PR code.
24
- name: Checkout trusted publisher
25
- uses: actions/checkout@v6
25
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
26
with:
27
ref: ${{ github.event.repository.default_branch }}
28
sparse-checkout: .github/scripts
@@ -32,7 +32,7 @@ jobs:
32
33
- id: resolve
34
name: Resolve PR and baseline artifacts
35
- uses: actions/github-script@v8
35
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
36
with:
37
script: |
38
const reporter = require("./.github/scripts/thread-transfer-report.cjs");
@@ -40,7 +40,7 @@ jobs:
40
41
- name: Download PR result
42
if: steps.resolve.outputs.publish == 'true' && steps.resolve.outputs.pr_artifact == 'true'
43
- uses: actions/download-artifact@v8
43
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
44
with:
45
name: thread-transfer-results
46
path: ${{ runner.temp }}/thread-transfer/pr
@@ -49,7 +49,7 @@ jobs:
49
50
- name: Download main baseline
51
if: steps.resolve.outputs.publish == 'true' && steps.resolve.outputs.baseline_artifact == 'true'
52
- uses: actions/download-artifact@v8
52
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
53
with:
54
name: thread-transfer-results
55
path: ${{ runner.temp }}/thread-transfer/main
@@ -58,7 +58,7 @@ jobs:
58
59
- name: Update thread transfer comment
60
if: steps.resolve.outputs.publish == 'true'
61
- uses: actions/github-script@v8
61
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
62
env:
63
PR_NUMBER: ${{ steps.resolve.outputs.pull_number }}
64
PR_SHA: ${{ steps.resolve.outputs.pr_sha }}
.github/workflows/web-preview.yml
+3
-3
@@ -46,7 +46,7 @@ jobs:
46
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
47
steps:
48
- name: Checkout
49
- uses: actions/checkout@v6
49
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
50
with:
51
ref: ${{ github.event.pull_request.head.sha }}
52
sparse-checkout: |
@@ -55,7 +55,7 @@ jobs:
55
sparse-checkout-cone-mode: false
56
57
- name: Setup Vite+
58
- uses: voidzero-dev/setup-vp@v1
58
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
59
with:
60
node-version-file: package.json
61
cache: true
@@ -97,7 +97,7 @@ jobs:
97
echo "deployment_url=$deployment_url" >> "$GITHUB_OUTPUT"
98
99
- name: Comment deployment URL
100
- uses: actions/github-script@v8
100
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
101
env:
102
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment_url }}
103
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
.github/workflows/windows-tests.yml
+3
-3
@@ -30,7 +30,7 @@ jobs:
30
timeout-minutes: 45
31
steps:
32
- name: Checkout
33
- uses: actions/checkout@v6
33
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
34
with:
35
sparse-checkout: |
36
/*
@@ -40,7 +40,7 @@ jobs:
40
# setup-vp's own cache restores a Linux-shaped store on Windows, which is
41
# slower than no cache (see #7975). Cache pnpm's Windows store directly.
42
- name: Setup Vite+
43
- uses: voidzero-dev/setup-vp@v1
43
+ uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
44
with:
45
node-version-file: package.json
46
cache: false
@@ -52,7 +52,7 @@ jobs:
52
run: '"path=$(vp pm cache dir)" >> $env:GITHUB_OUTPUT'
53
54
- name: Cache packages
55
- uses: actions/cache@v6
55
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
56
with:
57
path: ${{ steps.package_cache_path.outputs.path }}
58
key: windows-tests-packages-v1-${{ hashFiles('pnpm-lock.yaml') }}