Skip to content

Commit 51b6aaf

Browse files
authored
ci: update external action pins (#906)
#### Overview Refresh pinned third-party GitHub Actions used by CI, documentation, and nightly workflows to their approved current releases. - [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license. - [x] I searched existing issues and open pull requests, and this does not duplicate existing work. #### Details - Update checkout, setup-node, cache, Codecov, paths filtering, PR comments, release publishing, and package publishing action pins. - Update the Rust toolchain and crates.io trusted-publishing action pins across CI and Fern documentation workflows. - Preserve full commit-SHA pinning and readable release-version comments. #### Where should the reviewer start? Review the consolidated release and publishing changes in `.github/workflows/ci.yaml`, then the reusable CI workflow pins under `.github/workflows/ci_*.yml`. #### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to) - Relates to: none ## Summary by CodeRabbit * **Chores** * Updated automated build, testing, publishing, documentation, and nightly workflows to use newer pinned action versions. * Improved consistency across Rust, Python, Node.js, Go, release, and documentation automation. * **Maintenance** * Refreshed tooling for source checkout, runtime setup, caching, code coverage, change detection, publishing, and pull request updates. * Improved workflow security by disabling credential persistence where applicable. * Disabled package-manager caching during npm setup for more predictable automation. Authors: - Will Killian (https://github.com/willkill07) Approvers: - Eric Evans II (https://github.com/ericevans-nv) - Maryam Najafian (https://github.com/mnajafian-nv) URL: #906
1 parent 2beb454 commit 51b6aaf

10 files changed

Lines changed: 95 additions & 66 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ jobs:
266266
contents: write
267267
steps:
268268
- name: Checkout
269-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
269+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
270+
with:
271+
persist-credentials: false
270272

271273
- name: Download CLI distribution artifacts
272274
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -341,7 +343,7 @@ jobs:
341343
)
342344
343345
- name: Upload CLI assets and checksums to draft GitHub Release
344-
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
346+
uses: softprops/action-gh-release@fe965f7af51af5f2602596916f38a38df2e33de0 # v3.0.2
345347
with:
346348
draft: true
347349
prerelease: ${{ contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') || contains(github.ref_name, '-rc.') }}
@@ -364,13 +366,15 @@ jobs:
364366
UV_PYTHON_PREFERENCE: only-system
365367
steps:
366368
- name: Checkout
367-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
369+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
370+
with:
371+
persist-credentials: false
368372

369373
- name: Load CI tool versions
370374
id: ci-config
371375
uses: ./.github/actions/load-ci-tool-versions
372376

373-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
377+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
374378
with:
375379
cache: false
376380
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -396,7 +400,7 @@ jobs:
396400

397401
- name: Authenticate to crates.io with trusted publishing
398402
id: crates-io-auth
399-
uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # v1.0.4
403+
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5
400404

401405
- name: Publish to crates.io with trusted publishing
402406
working-directory: ${{ github.workspace }}
@@ -482,7 +486,7 @@ jobs:
482486
fi
483487
484488
- name: Publish to PyPI with trusted publishing
485-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
489+
uses: pypa/gh-action-pypi-publish@a892a5a61159132606e93a2fa6f4358831b04d26 # v1.14.2
486490
with:
487491
skip-existing: true
488492

@@ -498,16 +502,19 @@ jobs:
498502
environment: npm
499503
steps:
500504
- name: Checkout
501-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
505+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
506+
with:
507+
persist-credentials: false
502508

503509
- name: Load CI tool versions
504510
id: ci-config
505511
uses: ./.github/actions/load-ci-tool-versions
506512

507-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
513+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
508514
with:
509515
node-version: ${{ steps.ci-config.outputs.node_version }}
510516
registry-url: "https://registry.npmjs.org"
517+
package-manager-cache: false
511518

512519
- name: Download split Node package artifacts
513520
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

.github/workflows/ci_changes.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ jobs:
8989
steps:
9090
- name: Checkout
9191
if: ${{ ! inputs.full_ci }}
92-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
92+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9393
with:
9494
fetch-depth: 0
95+
persist-credentials: false
9596

9697
- name: Resolve comparison base
9798
id: comparison-base
@@ -121,7 +122,7 @@ jobs:
121122
- name: Detect changed paths
122123
id: filter
123124
if: ${{ ! inputs.full_ci }}
124-
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.01
125+
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
125126
with:
126127
base: ${{ steps.comparison-base.outputs.base }}
127128
filters: .github/ci-path-filters.yml

.github/workflows/ci_check.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
fi
7979
8080
- name: Checkout
81-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
81+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8282
with:
8383
persist-credentials: false
8484

@@ -127,9 +127,10 @@ jobs:
127127

128128
steps:
129129
- name: Checkout
130-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
130+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
131131
with:
132132
fetch-depth: 0
133+
persist-credentials: false
133134

134135
- name: Load CI tool versions
135136
id: ci-config
@@ -151,11 +152,11 @@ jobs:
151152
with:
152153
python-version: ${{ steps.ci-config.outputs.default_python_version }}
153154

154-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
155+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
155156
with:
156157
node-version: ${{ steps.ci-config.outputs.node_version }}
157158

158-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
159+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
159160
with:
160161
cache: false
161162
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -180,7 +181,7 @@ jobs:
180181
tool: cargo-about@${{ steps.ci-config.outputs.cargo_about_version }}
181182

182183
- name: Cache pre-commit environments
183-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
184+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
184185
with:
185186
path: ${{ runner.temp }}/.cache/pre-commit
186187
key: >-

.github/workflows/ci_go.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ jobs:
5252
fi
5353
5454
- name: Checkout
55-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
55+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
56+
with:
57+
persist-credentials: false
5658

5759
- name: Load CI tool versions
5860
id: ci-config
5961
uses: ./.github/actions/load-ci-tool-versions
6062

61-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
63+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
6264
with:
6365
cache: false
6466
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -87,7 +89,7 @@ jobs:
8789
just --set ci true --set output_dir "${{ github.workspace }}" test-go
8890
8991
- name: Upload Go coverage to Codecov
90-
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
92+
uses: codecov/codecov-action@e53489f4d376d79066609109e7a95a29eb3740b1 # v7.0.0
9193
with:
9294
token: ${{ secrets.CODECOV_TOKEN }}
9395
disable_search: true

.github/workflows/ci_license_diff.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pull-requests: write
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
37+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3838
with:
3939
fetch-depth: 0
4040

@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
python-version: ${{ steps.ci-config.outputs.default_python_version }}
5555

56-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
56+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
5757
with:
5858
cache: false
5959
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -147,7 +147,7 @@ jobs:
147147
148148
- name: Upsert PR comment
149149
if: ${{ steps.comment.outputs.pr_number != '' }}
150-
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
150+
uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
151151
with:
152152
header: nemo-relay-license-diff
153153
number: ${{ steps.comment.outputs.pr_number }}

.github/workflows/ci_node.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ jobs:
8686
fi
8787
8888
- name: Checkout
89-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
89+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
90+
with:
91+
persist-credentials: false
9092

9193
- name: Load CI tool versions
9294
id: ci-config
9395
uses: ./.github/actions/load-ci-tool-versions
9496

95-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
97+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
9698
with:
9799
cache: false
98100
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -109,7 +111,7 @@ jobs:
109111
with:
110112
tool: cargo-llvm-cov@${{ steps.ci-config.outputs.cargo_llvm_cov_version }},just@${{ steps.ci-config.outputs.just_version }}
111113

112-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
114+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
113115
with:
114116
node-version: ${{ steps.ci-config.outputs.node_version }}
115117

@@ -123,7 +125,7 @@ jobs:
123125
run: just --set ci true test-openclaw
124126

125127
- name: Upload Node coverage to Codecov
126-
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
128+
uses: codecov/codecov-action@e53489f4d376d79066609109e7a95a29eb3740b1 # v7.0.0
127129
if: ${{ !startsWith(matrix.platform, 'windows') }}
128130
with:
129131
token: ${{ secrets.CODECOV_TOKEN }}
@@ -175,13 +177,15 @@ jobs:
175177
fi
176178
177179
- name: Checkout
178-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
180+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
181+
with:
182+
persist-credentials: false
179183

180184
- name: Load CI tool versions
181185
id: ci-config
182186
uses: ./.github/actions/load-ci-tool-versions
183187

184-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
188+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
185189
with:
186190
cache: false
187191
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -205,7 +209,7 @@ jobs:
205209
enable-cache: true
206210
cache-dependency-glob: ${{ env.NEMO_RELAY_CI_WORKSPACE }}/uv.lock
207211

208-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
212+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
209213
with:
210214
node-version: ${{ steps.ci-config.outputs.node_version }}
211215

@@ -264,13 +268,15 @@ jobs:
264268
contents: read
265269
steps:
266270
- name: Checkout
267-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
271+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
272+
with:
273+
persist-credentials: false
268274

269275
- name: Load CI tool versions
270276
id: ci-config
271277
uses: ./.github/actions/load-ci-tool-versions
272278

273-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
279+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
274280
with:
275281
cache: false
276282
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -283,7 +289,7 @@ jobs:
283289
cache-bin: false
284290
save-if: false
285291

286-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
292+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
287293
with:
288294
node-version: ${{ steps.ci-config.outputs.node_version }}
289295

@@ -350,7 +356,7 @@ jobs:
350356
351357
- name: Checkout
352358
if: ${{ !contains(matrix.platform, 'musl') }}
353-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
359+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
354360
with:
355361
persist-credentials: false
356362

@@ -359,7 +365,7 @@ jobs:
359365
id: ci-config
360366
uses: ./.github/actions/load-ci-tool-versions
361367

362-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
368+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
363369
if: ${{ !contains(matrix.platform, 'musl') }}
364370
with:
365371
node-version: ${{ steps.ci-config.outputs.node_version }}

.github/workflows/ci_python.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ jobs:
7676
fi
7777
7878
- name: Checkout
79-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
79+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
80+
with:
81+
persist-credentials: false
8082

8183
- name: Load CI tool versions
8284
id: ci-config
8385
uses: ./.github/actions/load-ci-tool-versions
8486

85-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
87+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
8688
with:
8789
cache: false
8890
toolchain: ${{ steps.ci-config.outputs.rust_version }}
@@ -127,7 +129,7 @@ jobs:
127129
run: just --set ci true --set output_dir "${{ github.workspace }}" test-python-langchain
128130

129131
- name: Upload Python coverage to Codecov
130-
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
132+
uses: codecov/codecov-action@e53489f4d376d79066609109e7a95a29eb3740b1 # v7.0.0
131133
with:
132134
token: ${{ secrets.CODECOV_TOKEN }}
133135
disable_search: true
@@ -178,13 +180,15 @@ jobs:
178180
fi
179181
180182
- name: Checkout
181-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
183+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
184+
with:
185+
persist-credentials: false
182186

183187
- name: Load CI tool versions
184188
id: ci-config
185189
uses: ./.github/actions/load-ci-tool-versions
186190

187-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
191+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
188192
if: ${{ !contains(matrix.platform, 'musl') }}
189193
with:
190194
cache: false
@@ -398,7 +402,7 @@ jobs:
398402
399403
- name: Checkout
400404
if: ${{ !contains(matrix.platform, 'musl') }}
401-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
405+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
402406
with:
403407
persist-credentials: false
404408

@@ -407,7 +411,7 @@ jobs:
407411
id: ci-config
408412
uses: ./.github/actions/load-ci-tool-versions
409413

410-
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
414+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
411415
if: ${{ matrix.platform == 'source-and-plugin' }}
412416
with:
413417
cache: false

0 commit comments

Comments
 (0)