Skip to content

Commit c1ab2f4

Browse files
committed
ci: clear Node 20 action deprecations
Bump the actions still running on Node.js 20: - github/codeql-action/upload-sarif@v3 -> @v4 (leaked-secrets-scan). v3 also carries a separate 'CodeQL Action v3 deprecated Dec 2026, move to v4' warning; v4 runs on Node 24 and clears both. - softprops/action-gh-release v2.6.0 -> v3.0.0 (pinned to commit b4309332981a82ec1c5618f44dd2e27cc8bfbfda) in both release-smartem-workspace and release-smartem-epuplayer. v3.0.0 is a pure runtime bump (Node 20 -> Node 24), no functional changes. - actions/add-to-project@v1.0.2 -> @v2.0.0 (pr-admin). v2.0.0 runs on Node 24. Verified each target's action.yml declares 'using: node24'. The epuplayer softprops pin did not surface in recent annotations (stale run predating the Node 20 annotation rollout) but resolves to Node 20 statically.
1 parent 73a08b4 commit c1ab2f4

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/leaked-secrets-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: gitleaks detect --source . --redact -c .gitleaks.toml -v --report-format sarif --report-path gitleaks-report.sarif
3434
- name: Upload SARIF to code scanning
3535
if: always()
36-
uses: github/codeql-action/upload-sarif@v3
36+
uses: github/codeql-action/upload-sarif@v4
3737
with:
3838
sarif_file: gitleaks-report.sarif
3939
category: gitleaks

.github/workflows/pr-admin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Add PR to SmartEM project
35-
uses: actions/add-to-project@v1.0.2
35+
uses: actions/add-to-project@v2.0.0
3636
with:
3737
project-url: https://github.com/orgs/DiamondLightSource/projects/51
3838
github-token: ${{ secrets.PROJECT_TOKEN }}

.github/workflows/release-smartem-epuplayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ jobs:
477477
GH_TOKEN: ${{ github.token }}
478478

479479
- name: Create GitHub Release
480-
uses: softprops/action-gh-release@26e8ad27a09a225049a7075d7ec1caa2df6ff332 # v2.6.0
480+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
481481
with:
482482
tag_name: ${{ needs.version.outputs.is_stable == 'true' && format('epuplayer-v{0}', needs.version.outputs.version) || format('epuplayer-v{0}', needs.version.outputs.version) }}
483483
name: EPUPlayer v${{ needs.version.outputs.version }}

.github/workflows/release-smartem-workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ jobs:
336336
GH_TOKEN: ${{ github.token }}
337337

338338
- name: Create GitHub Release
339-
uses: softprops/action-gh-release@26e8ad27a09a225049a7075d7ec1caa2df6ff332 # v2.6.0
339+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
340340
with:
341341
tag_name: ${{ needs.version.outputs.is_stable == 'true' && format('smartem-workspace-v{0}', needs.version.outputs.version) || format('smartem-workspace-v{0}', needs.version.outputs.version) }}
342342
name: smartem-workspace v${{ needs.version.outputs.version }}

0 commit comments

Comments
 (0)