Skip to content

Commit 1b32eb8

Browse files
committed
chore(ci): pin actions to immutable commit SHAs
Mutable tags let an upstream maintainer change what runs in CI after review. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 32c6602 commit 1b32eb8

14 files changed

Lines changed: 98 additions & 98 deletions

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
timeout-minutes: 10
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v6
20+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
2121
with:
2222
sparse-checkout: |
2323
/*
@@ -33,7 +33,7 @@ jobs:
3333
fi
3434
3535
- name: Setup Vite+
36-
uses: voidzero-dev/setup-vp@v1
36+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
3737
with:
3838
node-version-file: package.json
3939
cache: true
@@ -68,15 +68,15 @@ jobs:
6868
timeout-minutes: 10
6969
steps:
7070
- name: Checkout
71-
uses: actions/checkout@v6
71+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
7272
with:
7373
sparse-checkout: |
7474
/*
7575
!/.repos/
7676
sparse-checkout-cone-mode: false
7777

7878
- name: Setup Vite+
79-
uses: voidzero-dev/setup-vp@v1
79+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
8080
with:
8181
node-version-file: package.json
8282
cache: true
@@ -102,15 +102,15 @@ jobs:
102102
shard: [1, 2, 3]
103103
steps:
104104
- name: Checkout
105-
uses: actions/checkout@v6
105+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
106106
with:
107107
sparse-checkout: |
108108
/*
109109
!/.repos/
110110
sparse-checkout-cone-mode: false
111111

112112
- name: Setup Vite+
113-
uses: voidzero-dev/setup-vp@v1
113+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
114114
with:
115115
node-version-file: package.json
116116
cache: true
@@ -150,7 +150,7 @@ jobs:
150150
151151
- name: Upload thread transfer result
152152
if: always() && steps.transfer_budget.outputs.present == 'true'
153-
uses: actions/upload-artifact@v7
153+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
154154
with:
155155
name: thread-transfer-results
156156
path: ${{ runner.temp }}/thread-transfer-result.json
@@ -165,15 +165,15 @@ jobs:
165165
timeout-minutes: 10
166166
steps:
167167
- name: Checkout
168-
uses: actions/checkout@v6
168+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
169169
with:
170170
sparse-checkout: |
171171
/*
172172
!/.repos/
173173
sparse-checkout-cone-mode: false
174174

175175
- name: Setup Rust
176-
uses: dtolnay/rust-toolchain@stable
176+
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
177177
with:
178178
components: rustfmt
179179

@@ -271,15 +271,15 @@ jobs:
271271
timeout-minutes: 10
272272
steps:
273273
- name: Checkout
274-
uses: actions/checkout@v6
274+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
275275
with:
276276
sparse-checkout: |
277277
/*
278278
!/.repos/
279279
sparse-checkout-cone-mode: false
280280

281281
- name: Setup Vite+
282-
uses: voidzero-dev/setup-vp@v1
282+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
283283
with:
284284
node-version-file: package.json
285285
cache: true
@@ -299,15 +299,15 @@ jobs:
299299
timeout-minutes: 10
300300
steps:
301301
- name: Checkout
302-
uses: actions/checkout@v6
302+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
303303
with:
304304
sparse-checkout: |
305305
/*
306306
!/.repos/
307307
sparse-checkout-cone-mode: false
308308

309309
- name: Setup Vite+
310-
uses: voidzero-dev/setup-vp@v1
310+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
311311
with:
312312
node-version-file: package.json
313313
cache: true

‎.github/workflows/deploy-relay.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
ALCHEMY_TELEMETRY_DISABLED: "1"
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v6
40+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4141
with:
4242
sparse-checkout: |
4343
/*
4444
!/.repos/
4545
sparse-checkout-cone-mode: false
4646

4747
- name: Setup Vite+
48-
uses: voidzero-dev/setup-vp@v1
48+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
4949
with:
5050
node-version-file: package.json
5151
cache: true
@@ -65,7 +65,7 @@ jobs:
6565
APNS_PRIVATE_KEY: ${{ secrets.APNS_PRIVATE_KEY }}
6666

6767
- name: Publish relay deploy commit status
68-
uses: actions/github-script@v8
68+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
6969
with:
7070
script: |
7171
const result = "${{ steps.deploy.outputs.result }}";

‎.github/workflows/desktop-macos-preview.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
version: ${{ steps.version.outputs.version }}
3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4040
with:
4141
ref: ${{ github.event.pull_request.head.sha }}
4242
sparse-checkout: |
@@ -45,7 +45,7 @@ jobs:
4545
sparse-checkout-cone-mode: false
4646

4747
- name: Setup Vite+
48-
uses: voidzero-dev/setup-vp@v1
48+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
4949
with:
5050
node-version-file: package.json
5151
cache: true
@@ -56,14 +56,14 @@ jobs:
5656

5757
- name: Cache resource monitor
5858
id: resource_monitor_cache
59-
uses: actions/cache@v6
59+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6060
with:
6161
path: native/resource-monitor/target/aarch64-apple-darwin/release/t3-resource-monitor
6262
key: resource-monitor-aarch64-apple-darwin-${{ hashFiles('native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}
6363

6464
- name: Setup Rust
6565
if: steps.resource_monitor_cache.outputs.cache-hit != 'true'
66-
uses: dtolnay/rust-toolchain@stable
66+
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
6767
with:
6868
targets: aarch64-apple-darwin
6969

@@ -109,7 +109,7 @@ jobs:
109109
# archive: false uploads the file as its own artifact named after the
110110
# file, so the publish job downloads by *.dmg pattern, not by name.
111111
- name: Upload macOS DMG
112-
uses: actions/upload-artifact@v7
112+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
113113
with:
114114
path: release/*.dmg
115115
if-no-files-found: error
@@ -132,7 +132,7 @@ jobs:
132132
pull-requests: write
133133
steps:
134134
- name: Download macOS DMG
135-
uses: actions/download-artifact@v8
135+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
136136
with:
137137
pattern: "*.dmg"
138138
merge-multiple: true
@@ -217,7 +217,7 @@ jobs:
217217
218218
- name: Comment download link
219219
if: steps.upload.outputs.download_url != ''
220-
uses: actions/github-script@v8
220+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
221221
env:
222222
DOWNLOAD_URL: ${{ steps.upload.outputs.download_url }}
223223
DMG_NAME: ${{ needs.build.outputs.dmg_name }}
@@ -333,7 +333,7 @@ jobs:
333333
334334
- name: Mark the preview comment as removed
335335
if: steps.delete.outputs.removed == 'true'
336-
uses: actions/github-script@v8
336+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
337337
with:
338338
script: |
339339
const marker = "<!-- desktop-macos-preview -->";

‎.github/workflows/issue-labels.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Ensure managed issue labels exist
21-
uses: actions/github-script@v7
21+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
2222
with:
2323
script: |
2424
const managedLabels = [

‎.github/workflows/mobile-eas-preview.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Checkout
3838
if: steps.expo-token.outputs.present == 'true'
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4040
with:
4141
fetch-depth: 0
4242
# No sparse-checkout here: it makes actions/checkout fetch with
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Setup Vite+
4848
if: steps.expo-token.outputs.present == 'true'
49-
uses: voidzero-dev/setup-vp@v1
49+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
5050
with:
5151
node-version-file: package.json
5252
cache: true
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: Setup EAS
6666
if: steps.expo-token.outputs.present == 'true'
67-
uses: expo/expo-github-action@v8
67+
uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # 8.2.1
6868
with:
6969
eas-version: latest
7070
token: ${{ secrets.EXPO_TOKEN }}
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Deploy with fingerprint check
8484
if: steps.expo-token.outputs.present == 'true'
85-
uses: expo/expo-github-action/continuous-deploy-fingerprint@main
85+
uses: expo/expo-github-action/continuous-deploy-fingerprint@eab7a230208c952974db8c3245cfd78402c7b385 # 9.0.0
8686
env:
8787
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
8888
with:

‎.github/workflows/mobile-eas-production.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ jobs:
9898
- id: version_app_token
9999
name: Mint release app token for version override
100100
if: steps.expo-token.outputs.present == 'true' && github.event_name == 'workflow_dispatch' && inputs.mode == 'build' && inputs.version != ''
101-
uses: actions/create-github-app-token@v2
101+
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
102102
with:
103103
app-id: ${{ secrets.RELEASE_APP_ID }}
104104
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
105105
owner: ${{ github.repository_owner }}
106106

107107
- name: Checkout
108108
if: steps.expo-token.outputs.present == 'true'
109-
uses: actions/checkout@v6
109+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
110110
with:
111111
fetch-depth: 0
112112
token: ${{ steps.version_app_token.outputs.token || github.token }}
@@ -117,7 +117,7 @@ jobs:
117117

118118
- name: Setup Vite+
119119
if: steps.expo-token.outputs.present == 'true'
120-
uses: voidzero-dev/setup-vp@v1
120+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
121121
with:
122122
node-version-file: package.json
123123
cache: true
@@ -135,7 +135,7 @@ jobs:
135135
136136
- name: Setup EAS
137137
if: steps.expo-token.outputs.present == 'true'
138-
uses: expo/expo-github-action@v8
138+
uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # 8.2.1
139139
with:
140140
eas-version: latest
141141
token: ${{ secrets.EXPO_TOKEN }}

‎.github/workflows/mobile-fingerprint-check.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
NODE_OPTIONS: --max-old-space-size=8192
4343
steps:
4444
- name: Checkout
45-
uses: actions/checkout@v6
45+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4646
with:
4747
# Default pull_request checkout is the merge commit (PR applied on
4848
# top of base), so the "head" fingerprint is the state main would
4949
# actually be in after merging — stale branches compare cleanly.
5050
fetch-depth: 0
5151

5252
- name: Setup Vite+
53-
uses: voidzero-dev/setup-vp@v1
53+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
5454
with:
5555
node-version-file: package.json
5656
cache: true
@@ -117,7 +117,7 @@ jobs:
117117
# advisory there (summary only). This workflow must not move to
118118
# pull_request_target — it installs and runs PR code.
119119
if: github.event.pull_request.head.repo.full_name == github.repository
120-
uses: actions/github-script@v8
120+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
121121
env:
122122
CHANGED_PLATFORMS: ${{ steps.compare.outputs.changed_platforms }}
123123
with:

0 commit comments

Comments
 (0)