ci: update github-script actions for Node 24 #3360
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3360"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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
AI-assisted.
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.
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.
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.
Pull request closed