Skip to content

build(deps): Bump actions/github-script from 8.0.0 to 9.0.0 - #1633

Merged
lklimek merged 1 commit into
devfrom
dependabot/github_actions/actions/github-script-9.0.0
Nov 18, 2026
Merged

lklimek merged 1 commit into
devfrom
dependabot/github_actions/actions/github-script-9.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Bumps actions/github-script from 8.0.0 to 9.0.0.

Release notes

Sourced from actions/github-script's releases.

v9.0.0

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

Commits
  • 3a2844b Merge pull request #700 from actions/salmanmkc/expose-getoctokit + prepare re...
  • ca10bbd fix: use @​octokit/core/types import for v7 compatibility
  • 86e48e2 merge: incorporate main branch changes
  • c108472 chore: rebuild dist for v9 upgrade and getOctokit factory
  • afff112 Merge pull request #712 from actions/salmanmkc/deployment-false + fix user-ag...
  • ff8117e ci: fix user-agent test to handle orchestration ID
  • 81c6b78 ci: use deployment: false to suppress deployment noise from integration tests
  • 3953caf docs: update README examples from @​v8 to @​v9, add getOctokit docs and v9 brea...
  • c17d55b ci: add getOctokit integration test job
  • a047196 test: add getOctokit integration tests via callAsyncFunction
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

PR Hygiene · 5c1aa46

  • Bots — thepastaclaw ✓
  • Self-review — not asked of a bot author
  • Build green
  • Approvals
    • github (.github/workflows/milestone.yml) — approved by lklimek

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v8...3a2844b)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions

Copy link
Copy Markdown

@thepastaclaw review

No review for 5c1aa460 yet, so PR Hygiene is asking once. If nothing arrives, the requirement is dropped for this commit and the pull request is labelled bot-review-skipped.

@thepastaclaw

thepastaclaw commented Nov 17, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit 5c1aa46) · triage: low

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

The PR makes the intended single-line upgrade from github-script v8.0.0 to the immutable v9.0.0 commit. The milestone workflow uses only stable injected github, context, and core APIs, and the same v9 pin is already used by docker.yml; all relevant CI checks pass.

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.2-sol (effort low) — This is a single-line GitHub Actions dependency update in the milestone workflow, with limited CI behavior impact and no critical application surface changes.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 98% left, weekly 93% left; passed over gemini-3.8-flash-high (antigravity quota lookup failed)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort medium); agent phase2-reviewer

@github-actions

Copy link
Copy Markdown

Ready for review — github: ktechmidas or lklimek or shumkov.
Full checklist in the description.

@github-actions github-actions Bot added ready-for-human PR Hygiene: bots done, author self-reviewed, awaiting human review and removed waiting-bots Waiting for the review bots to report on this head labels Nov 17, 2026
@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

Dependency review: actions/github-script 8.0.0 → 9.0.0 (major)

Verdict: Safe (low residual risk: the changed workflow is not exercised by this PR's CI)

Upstream changes

  • Moves to @actions/github v9 (ESM-only) and @octokit/core v7.
  • Adds an injected getOctokit function and appends ACTIONS_ORCHESTRATION_ID to the user-agent.
  • Runtime is unchanged (node24 in both v8.0.0 and v9.0.0 action.yml).
  • Breaking changes per the release notes:
    • require('@actions/github') fails in scripts.
    • const/let getOctokit redeclaration is a SyntaxError.
    • Other @actions/github internals may change.
  • No known advisories against the action itself. The bundled undici versions carry open advisories, but they cover WebSocket, EventSource, cookies, the retry interceptor and custom TLS agents, none of which a REST-only script reaches. This is no worse than v8.

Integrity

Our usage (.github/workflows/milestone.yml)

  • The inline script uses only context, core, github.rest.repos.getLatestRelease, github.rest.issues.listMilestones (via github.paginate) and github.rest.issues.update.
  • It never calls require, never declares getOctokit, and never touches @actions/github internals, so none of the breaking changes apply.
  • Permissions are contents: read and pull-requests: write on pull_request_target, with no checkout. No PR-controlled code runs, and PR data is only read from the event payload.
  • The same SHA is already used in .github/workflows/docker.yml (bumped in build(deps): Bump actions/github-script from 8.0.0 to 9.0.0 #1612). Its getLatestRelease step succeeded in the v2.0.0-dev.3 release run.

Caveat: green CI on this PR does not exercise milestone.yml. It triggers on pull_request_target: closed and runs the base-branch copy. The first real run will be the next merge into dev after this lands, so check that run's milestone assignment.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek
lklimek enabled auto-merge (squash) November 18, 2026 16:07
@github-actions

Copy link
Copy Markdown

Policy satisfied — this can merge.
Full checklist in the description.

@github-actions github-actions Bot removed the ready-for-human PR Hygiene: bots done, author self-reviewed, awaiting human review label Nov 18, 2026
@lklimek
lklimek merged commit f2097db into dev Nov 18, 2026
30 checks passed
@lklimek
lklimek deleted the dependabot/github_actions/actions/github-script-9.0.0 branch November 18, 2026 16:08
@github-actions github-actions Bot added this to the v2.0 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants