Skip to content

chore(deps): update actions/github-script action to v9#7177

Merged
lalalune merged 1 commit into
developfrom
renovate/actions-github-script-9.x
Apr 29, 2026
Merged

chore(deps): update actions/github-script action to v9#7177
lalalune merged 1 commit into
developfrom
renovate/actions-github-script-9.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 29, 2026

This PR contains the following updates:

Package Type Update Change
actions/github-script action major v7v9

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

actions/github-script (actions/github-script)

v9

Compare Source

v9.0.0

Compare Source

New features:

  • getOctokit factory function — Available directly in the script context. Create additional authenticated Octokit clients with different tokens for multi-token workflows, GitHub App tokens, and cross-org access. See Creating additional clients with getOctokit for details and examples.
  • Orchestration ID in user-agent — The ACTIONS_ORCHESTRATION_ID environment variable is automatically appended to the user-agent string for request tracing.

Breaking changes:

  • require('@​actions/github') no longer works in scripts. The upgrade to @actions/github v9 (ESM-only) means require('@​actions/github') will fail at runtime. If you previously used patterns like const { getOctokit } = require('@​actions/github') to create secondary clients, use the new injected getOctokit function instead — it's available directly in the script context with no imports needed.
  • getOctokit is now an injected function parameter. Scripts that declare const getOctokit = ... or let getOctokit = ... will get a SyntaxError because JavaScript does not allow const/let redeclaration of function parameters. Use the injected getOctokit directly, or use var getOctokit = ... if you need to redeclare it.
  • If your script accesses other @actions/github internals beyond the standard github/octokit client, you may need to update those references for v9 compatibility.
What's Changed
New Contributors

Full Changelog: actions/github-script@v8.0.0...v9.0.0

v8: .0.0

Compare Source

What's Changed
⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

New Contributors

Full Changelog: actions/github-script@v7.1.0...v8.0.0

v8.0.0

Compare Source

v7.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: actions/github-script@v7...v7.1.0

v7.0.1

Compare Source

What's Changed

Full Changelog: actions/github-script@v7.0.0...v7.0.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Greptile Summary

This PR bumps actions/github-script from v7 to v9 in the auto-label workflow. The script in the workflow only uses standard github.rest.issues.addLabels and context.* APIs, none of which are affected by v9's breaking changes (removal of require('@actions/github') and the getOctokit injection conflict). The upgrade is clean and safe.

Confidence Score: 5/5

Safe to merge — a straightforward dependency bump with no compatibility issues in the existing script.

The only changed file is a single-line version bump. The script uses no APIs affected by v9 breaking changes.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/auto-label.yml Version bump of actions/github-script from v7 to v9; script only uses standard github.rest and context APIs unaffected by v9 breaking changes.

Sequence Diagram

sequenceDiagram
    participant GH as GitHub Events
    participant WF as auto-label.yml
    participant GS as actions/github-script@v9
    participant API as GitHub REST API

    GH->>WF: issues opened/edited
    WF->>GS: run script with context
    GS->>GS: analyze issue title + body
    GS->>API: github.rest.issues.addLabels()
    API-->>GS: labels applied
Loading

Reviews (1): Last reviewed commit: "chore(deps): update actions/github-scrip..." | Re-trigger Greptile

@github-actions github-actions Bot added the ci label Apr 29, 2026
@lalalune lalalune merged commit fb56602 into develop Apr 29, 2026
11 of 22 checks passed
@lalalune lalalune deleted the renovate/actions-github-script-9.x branch April 29, 2026 03:13
lalalune added a commit that referenced this pull request May 3, 2026
chore(deps): update actions/github-script action to v9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant