Skip to content

ci: bump actions/github-script from v6 to v7 in local workflows - #1197

Closed
mr-raj12 wants to merge 3 commits into
asyncapi:masterfrom
mr-raj12:ci/github-script-v7
Closed

mr-raj12 wants to merge 3 commits into
asyncapi:masterfrom
mr-raj12:ci/github-script-v7

Conversation

@mr-raj12

Copy link
Copy Markdown

Summary

  • Bumps actions/github-script from @v6 (Node 16 runtime, deprecated by GitHub Actions) to @v7 (Node 20).
  • 6 call sites updated, all in local workflows:
    • .github/workflows/new-spec-release.yml — 5 uses
    • .github/workflows/update-spec.yaml — 1 use
  • No script logic changes — every call site uses only the github-token input and stable fs APIs, 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 diff confirms only uses: lines change (v6 → v7) — no script body edits.
  • Verified all 6 scripts only depend on Node stdlib + github-token passthrough (no v6/v7 API divergence in use).
  • new-spec-release.yml fires on release publish; update-spec.yaml fires on push to master touching spec/asyncapi.md — both will exercise the bumped action on their next natural trigger.

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>
@sonarqubecloud

sonarqubecloud Bot commented May 1, 2026

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@derberg derberg closed this May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: bump actions/github-script from v6 to v7 in local workflows

2 participants