Repository navigation
Conversation
actions/github-script@v6 runs on Node 16, which GitHub has deprecated as an Actions runtime. v7 runs on Node 20. All six call sites only use the `github-token` input and stable `fs` APIs, so the upgrade is a drop-in replacement with no script changes. This complements asyncapi#1194 (checkout v3 -> v4) and together finishes moving the local workflows off the Node 16 Actions runtime. Refs asyncapi#1196 Signed-off-by: Mrityunjay Raj <mr.raj.earth@gmail.com>
mr-raj12
requested review from
GreenRover,
asyncapi-bot-eve,
char0n,
dalelane,
derberg and
fmvilas
as code owners
April 22, 2026 19:07
This was referenced Apr 22, 2026
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
actions/github-scriptfrom@v6(Node 16 runtime, deprecated by GitHub Actions) to@v7(Node 20)..github/workflows/new-spec-release.yml— 5 uses.github/workflows/update-spec.yaml— 1 usegithub-tokeninput and stablefsAPIs, so v7 is a drop-in replacement.Why
Complements #1194 / #1195 (checkout v3 → v4). Together these finish moving the local workflows off the Node 16 Actions runtime and stop GitHub's deprecation warning from appearing on every run. Centrally-managed workflows (those with the
# This action is centrally managed in …header) are out of scope and are updated upstream.Closes #1196
Test plan
git diffconfirms onlyuses:lines change (v6 → v7) — no script body edits.github-tokenpassthrough (no v6/v7 API divergence in use).new-spec-release.ymlfires on release publish;update-spec.yamlfires on push to master touchingspec/asyncapi.md— both will exercise the bumped action on their next natural trigger.