ci: update github-script actions for Node 24 #3360

Closed
Yuanzer wants to merge 1 commit from upstream-pr/3360 into main
Yuanzer commented 2026-11-29 22:13:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yuanzer on 2026-11-29T22:13:07Z.


Summary

Updates all four actions/github-script workflow steps from v7 to the current v9 release, so GitHub Actions runs them on the supported Node 24 runtime.

This is the warning currently attached to the title-labels check of #2244:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@v7.

Compatibility

actions/github-script v9 changes the default runtime and makes @actions/github ESM-only. The breaking changes affect scripts that call require('@actions/github') or declare their own getOctokit; none of this repository's four scripts do either. They use only the injected github/context objects and APIs that remain available in v9.

The official v9 release notes are at https://github.com/actions/github-script/releases/tag/v9.0.0.

Verification

  • Repo-wide search found no existing v8/v9 update PR.
  • Search confirms the four scripts contain no require('@actions/github') or conflicting getOctokit declarations.
  • git diff --check passes.
  • The action tag resolves to the official latest release, v9.0.0.

AI-assisted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5555697211 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3360). Originally posted by [Yuanzer](https://github.com/Yuanzer) on 2026-11-29T22:13:07Z. --- ## Summary Updates all four actions/github-script workflow steps from v7 to the current v9 release, so GitHub Actions runs them on the supported Node 24 runtime. This is the warning currently attached to the title-labels check of #2244: > Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/github-script@v7. ## Compatibility actions/github-script v9 changes the default runtime and makes @actions/github ESM-only. The breaking changes affect scripts that call require('@actions/github') or declare their own getOctokit; none of this repository's four scripts do either. They use only the injected github/context objects and APIs that remain available in v9. The official v9 release notes are at https://github.com/actions/github-script/releases/tag/v9.0.0. ## Verification - Repo-wide search found no existing v8/v9 update PR. - Search confirms the four scripts contain no require('@actions/github') or conflicting getOctokit declarations. - git diff --check passes. - The action tag resolves to the official latest release, v9.0.0. AI-assisted.
Yuanzer commented 2026-11-29 22:18:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yuanzer on 2026-11-29T22:18:53Z.


Full CI reached Clippy but stopped on a pre-existing main failure unrelated to these workflow files:\n\ncrates/victory-loader/src/crash.rs:804: unwind_copy is never used under the normal (non-diagnostics) configuration, promoted to an error by -D warnings.\n\nThat is the same gate tracked by #2019, whose current check is also failing. This PR changes only four uses: lines, and git diff --check passes. I am leaving it as a draft until the upstream Clippy gate is fixed; then I will rebase this four-line change and rerun CI rather than carrying an unrelated loader/shader/build repair stack in a workflow-only PR.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7263575009 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3360#issuecomment-7263575009). Originally posted by [Yuanzer](https://github.com/Yuanzer) on 2026-11-29T22:18:53Z. --- Full CI reached Clippy but stopped on a pre-existing main failure unrelated to these workflow files:\n\ncrates/victory-loader/src/crash.rs:804: unwind_copy is never used under the normal (non-diagnostics) configuration, promoted to an error by -D warnings.\n\nThat is the same gate tracked by #2019, whose current check is also failing. This PR changes only four uses: lines, and git diff --check passes. I am leaving it as a draft until the upstream Clippy gate is fixed; then I will rebase this four-line change and rerun CI rather than carrying an unrelated loader/shader/build repair stack in a workflow-only PR.
Yuanzer commented 2026-11-29 22:21:35 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yuanzer on 2026-11-29T22:21:35Z.


Static workflow validation now passes as well: official ctionlint v1.7.12 returned exit 0 for all four changed workflow files. The only red check remains the unrelated ictory-loader Clippy failure already described above.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7263610508 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3360#issuecomment-7263610508). Originally posted by [Yuanzer](https://github.com/Yuanzer) on 2026-11-29T22:21:35Z. --- Static workflow validation now passes as well: official ctionlint v1.7.12 returned exit 0 for all four changed workflow files. The only red check remains the unrelated ictory-loader Clippy failure already described above.
Yuanzer commented 2026-11-29 22:25:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yuanzer on 2026-11-29T22:25:41Z.


Closing this draft because current main still fails workspace Clippy at the pre-existing ictory-loader::crash::unwind_copy dead-code error (#2019), so the workflow-only PR cannot reach a green, mergeable state. The four-line v9 update itself passes official ctionlint v1.7.12, and the branch remains available to rebase and reopen once the upstream gate is fixed.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7263664437 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3360#issuecomment-7263664437). Originally posted by [Yuanzer](https://github.com/Yuanzer) on 2026-11-29T22:25:41Z. --- Closing this draft because current main still fails workspace Clippy at the pre-existing ictory-loader::crash::unwind_copy dead-code error (#2019), so the workflow-only PR cannot reach a green, mergeable state. The four-line v9 update itself passes official ctionlint v1.7.12, and the branch remains available to rebase and reopen once the upstream gate is fixed.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!3360
No description provided.