Skip to content

chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 in the github-actions group#1616

Merged
hassiebp merged 1 commit intomainfrom
dependabot/github_actions/github-actions-c6819f84d5
Apr 10, 2026
Merged

chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 in the github-actions group#1616
hassiebp merged 1 commit intomainfrom
dependabot/github_actions/github-actions-c6819f84d5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2026

Bumps the github-actions group with 1 update: actions/github-script.

Updates 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

You can trigger a rebase of this PR 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Disclaimer: Experimental PR review

Greptile Summary

This PR bumps actions/github-script from v8.0.0 to v9.0.0 in .github/workflows/claude-review-maintainer-prs.yml. The workflow scripts use only standard injected objects (github, context, core) and are not affected by v9's breaking changes (removal of require('@actions/github') and getOctokit becoming an injected parameter).

Confidence Score: 5/5

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

The workflow scripts rely only on standard injected objects (github, context, core) that are unchanged in v9. Neither breaking change in v9 (removal of require('@actions/github') support, getOctokit becoming injected) affects this workflow.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/claude-review-maintainer-prs.yml Bumps actions/github-script from v8.0.0 to v9.0.0 (pinned SHA); scripts only use standard injected objects and are unaffected by v9 breaking changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PR opened or ready_for_review] --> B{Draft?}
    B -->|Yes| Z[Skip]
    B -->|No| C[Check author permission via github-script v9]
    C --> D{write or admin?}
    D -->|No| Z
    D -->|Yes| E{Existing claude review comment?}
    E -->|Yes| Z
    E -->|No| F[Post claude review comment via github-script v9]
Loading

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

Bumps the github-actions group with 1 update: [actions/github-script](https://github.com/actions/github-script).


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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 10, 2026
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

LGTM — the scripts only use standard injected APIs unaffected by v9 breaking changes.

Extended reasoning...

Overview\nThis PR updates actions/github-script from v8.0.0 to v9.0.0 (pinned by commit hash) in a single CI workflow file. Two step references are updated.\n\n### Security risks\nNone. This is an official GitHub Actions action maintained by GitHub. The commit SHA pinning is preserved, which is good practice.\n\n### Level of scrutiny\nLow. The v9.0.0 release notes list three breaking changes, but none apply here:\n1. require('@actions/github') removed — neither script uses it.\n2. getOctokit is now an injected parameter — neither script declares const getOctokit or let getOctokit.\n3. Access to @actions/github internals — both scripts only use github.rest.*, github.paginate(), context, and core, all of which remain compatible.\n\n### Other factors\nAutomated Dependabot PR, no bugs found by the bug hunting system, no prior reviews, and the change is confined to CI infrastructure with no impact on library code.

@blacksmith-sh
Copy link
Copy Markdown

blacksmith-sh bot commented Apr 10, 2026

Found 5 test failures on Blacksmith runners:

Failures

Test View Logs
test_decorators/test_scoring_observations View Logs
test_decorators/test_scoring_observations View Logs
test_decorators/test_scoring_observations View Logs
test_decorators/test_scoring_observations View Logs
test_decorators/test_scoring_observations View Logs

Fix in Cursor

@hassiebp hassiebp merged commit 542f2c9 into main Apr 10, 2026
8 of 14 checks passed
@hassiebp hassiebp deleted the dependabot/github_actions/github-actions-c6819f84d5 branch April 10, 2026 13:05
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.

1 participant