Skip to content

chore(deps): bump actions/github-script from 8 to 9 - #49

Merged
kylegordon merged 2 commits into
masterfrom
dependabot/github_actions/actions/github-script-9
Jun 21, 2026
Merged

chore(deps): bump actions/github-script from 8 to 9#49
kylegordon merged 2 commits into
masterfrom
dependabot/github_actions/actions/github-script-9

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps actions/github-script from 8 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

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 8 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v8...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 2, 2026
@kylegordon
kylegordon merged commit a72ef33 into master Jun 21, 2026
6 checks passed
@kylegordon
kylegordon deleted the dependabot/github_actions/actions/github-script-9 branch June 21, 2026 18:51
@github-actions github-actions Bot mentioned this pull request Jun 21, 2026
kylegordon added a commit that referenced this pull request Jun 21, 2026
## What's Changed
* chore(deps): bump actions/github-script from 7 to 8 by
@dependabot[bot] in #28
* Add PR-only workflow policy and branch protection docs by @kylegordon
in #41
* chore: migrate from release-on-tag to release-please by @kylegordon in
#42
* chore(deps): bump codecov/codecov-action from 5 to 6 by
@dependabot[bot] in #29
* chore: resolve merge conflicts with master for github-script bump PR
by @dependabot[bot] in
#31
* chore(deps): bump softprops/action-gh-release from 2 to 3 by
@dependabot[bot] in #30
* fix: correct repository URL case in manifest.json by @kylegordon in
#43
* chore(deps): update pytest requirement from >=7.4.0 to >=9.0.3 by
@dependabot[bot] in #33
* docs: clarify that only fix/feat commits trigger release-please PRs by
@kylegordon in #44
* chore(deps): update pytest-asyncio requirement from >=0.21.0 to
>=1.3.0 by @dependabot[bot] in
#34
* chore(deps): update pytest-cov requirement from >=4.1.0 to >=7.1.0 by
@dependabot[bot] in #35
* chore(deps): update pytest-homeassistant-custom-component requirement
from >=0.13.0 to >=0.13.334 by @dependabot[bot] in
#40
* Refactor: modernize integration architecture and fix bugs by
@kylegordon with @Copilot in
#37
* Replace release-please with simple all-PRs release workflow by
@kylegordon in #47
* docs: document squash-merge strategy and clarify PR title guidance by
@kylegordon in #46
* Replace release-please with simple all-PRs release workflow by
@kylegordon in #58
* chore(deps): update pytest requirement from >=9.0.3 to >=9.1.0 by
@dependabot[bot] in #57
* chore: auto-merge dependabot minor/patch version updates by
@kylegordon with @Copilot in
#59
* Update CI to Python 3.14 and fix dependency resolution by
@dependabot[bot] in #63
* chore(deps): update pytest-homeassistant-custom-component requirement
from >=0.13.334 to >=0.13.340 by @dependabot[bot] in
#62
* chore(deps): bump dependabot/fetch-metadata from 2 to 3 by
@dependabot[bot] in #61
* chore(deps): bump actions/github-script from 8 to 9 by
@dependabot[bot] in #49
* chore(deps): bump softprops/action-gh-release from 2 to 3 by
@dependabot[bot] in #50
* chore(deps): bump peter-evans/create-pull-request from 7 to 8 by
@dependabot[bot] in #51
* chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in
#60
* chore(deps): bump codecov/codecov-action from 6 to 7 by
@dependabot[bot] in #55
* chore(deps): update pytest-asyncio requirement from >=1.3.0 to >=1.4.0
by @dependabot[bot] in
#53


**Full Changelog**:
v1.0.5...v1.0.6

Co-authored-by: kylegordon <231528+kylegordon@users.noreply.github.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