Skip to content

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

Description

@mr-raj12

Problem

Two local workflows still pin actions/github-script@v6, which runs on Node 16. GitHub has deprecated the Node 16 Actions runtime, and every run of these workflows currently produces a deprecation warning.

Affected call sites (6 total):

  • .github/workflows/new-spec-release.yml — 5 uses (steps at lines 35, 56, 63, 93, 128)
  • .github/workflows/update-spec.yaml — 1 use (step at line 46)

actions/github-script@v7 runs on Node 20 and is otherwise a drop-in upgrade for these scripts, which only use stable fs APIs plus github-token passthrough.

Proposed solution

Bump actions/github-script@v6 to @v7 in both local workflow files. No script logic changes required.

Context

This is a follow-up to #1194 / #1195 (checkout v3 → v4). Together these finish moving the local workflows off the Node 16 Actions runtime. Centrally-managed workflows (those carrying the # This action is centrally managed in https://github.com/asyncapi/.github/ header) are out of scope and should be updated upstream.

I'd like to submit the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions