Skip to content

chore(deps): bump actions/github-script from 7 to 9#118

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/github-script-9
Closed

chore(deps): bump actions/github-script from 7 to 9#118
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/github-script-9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/github-script from 7 to 9.

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

v8.0.0

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

v7.1.0

What's Changed

... (truncated)

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)

Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v7...v9)

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

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 Jun 10, 2026
@wiiiimm

wiiiimm commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Superseded by #131, which consolidates all open Dependabot updates into a single PR. Closing in favour of that.

@wiiiimm wiiiimm closed this Jun 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/github_actions/actions/github-script-9 branch June 18, 2026 06:05
wiiiimm added a commit that referenced this pull request Jun 18, 2026
…r title] (#131)

* chore(deps): consolidate open dependabot updates (GMC-45)

Combine all 13 open Dependabot PRs (#116#129) into a single update.

npm group (#129): @octokit/graphql 9.0.3, apollo3-cache-persist 0.15.0,
chalk 5.6.2, dotenv 17.4.2, fuse.js 7.4.2, react 19.2.7,
@types/react 19.2.17, tsup 8.5.1, vitest 4.1.9.

npm majors: typescript 6.0.3 (#128), @vitest/coverage-v8 4.1.8 (#127),
semantic-release 25.0.5 (#126), ink-testing-library 4.0.0 (#125),
env-paths 4.0.0 (#124), @types/node 25.9.2 (#123), open 11.0.0 (#122).

GitHub Actions: setup-node v6 (#120), checkout v6 (#119),
github-script v9 (#118), download-artifact v8 (#117), cache v5 (#116).

Verified: typecheck (TS 6), build, and full test suite (456/456) all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: bump release workflow to Node 22 for semantic-release 25 (GMC-45)

semantic-release 25 requires Node ^22.14.0 || >=24.10.0; the release
workflow still set up Node 20, which would fail `npx semantic-release`
on the next push to main. Bump all setup-node steps to Node 22 (LTS).

Flagged by Cursor Bugbot (High) and Codex (P1) on PR #131.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: raise Node floor to >=20 for env-paths 4 and open 11 (GMC-45)

env-paths@4 and open@11 both declare engines.node ">=20", but the
package still advertised ">=18", letting Node 18-19 users install a
build that breaks at startup (env-paths) and on browser open (open).
Align engines.node and the setup docs to >=20. Node 18 is already EOL.

Flagged by Cursor Bugbot (Medium) on PR #131.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* build: migrate to @yao-pkg/pkg and target node20 binaries (GMC-45)

vercel/pkg (pkg@5.8.1) is archived and only ships base binaries up to
Node 18, so release binaries embedded a Node 18 runtime — incompatible
with env-paths 4 / open 11 (Node 20+) after raising the engine floor.
Switch to the maintained @yao-pkg/pkg fork and build node20 targets in
both the build:binaries script and the release workflow. The packager
needs Node 22 to run, which the release jobs already use.

Flagged by Cursor Bugbot (High) on PR #131.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: note build:binaries requires Node 22+ for @yao-pkg/pkg (GMC-45)

The CLI runtime engine stays at Node >=20, but @yao-pkg/pkg requires
Node >=22 to run. Document this in the Packaging section so contributors
on Node 20/21 know the binary build needs a newer Node, rather than
raising engines.node and wrongly forcing end users onto Node 22.

Addresses CodeRabbit engine-mismatch note on PR #131. The companion
"Invalid Windows pkg target" finding is a false positive: pkg-fetch's
toFancyPlatform aliases "windows" -> "win" during target parsing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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