Title: chore(deps): bump actions/github-script from 6 to 9 by dependabot[bot] · Pull Request #183 · base44/javascript-sdk · GitHub
Open Graph Title: chore(deps): bump actions/github-script from 6 to 9 by dependabot[bot] · Pull Request #183 · base44/javascript-sdk
X Title: chore(deps): bump actions/github-script from 6 to 9 by dependabot[bot] · Pull Request #183 · base44/javascript-sdk
Description: Bumps actions/github-script from 6 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
Add ACTIONS_ORCHESTRATION_ID to user-agent string by @Copilot in actions/github-script#695
ci: use deployment: false for integration test environments by @salmanmkc in actions/github-script#712
feat!: add getOctokit to script context, upgrade @actions/github v9, @octokit/core v7, and related packages by @salmanmkc in actions/github-script#700
New Contributors
@Copilot made their first contribution in actions/github-script#695
Full Changelog: actions/github-script@v8.0.0...v9.0.0
v8.0.0
What's Changed
Update Node.js version support to 24.x by @salmanmkc in actions/github-script#637
README for updating actions/github-script from v7 to v8 by @sneha-krip in actions/github-script#653
⚠️ 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
@salmanmkc made their first contribution in actions/github-script#637
@sneha-krip made their first contribution in actions/github-script#653
Full Changelog: actions/github-script@v7.1.0...v8.0.0
v7.1.0
What's Changed
Upgrade husky to v9 by @benelan in actions/github-script#482
Add workflow file for publishing releases to immutable action package by @Jcambass in actions/github-script#485
Upgrade IA Publish by @Jcambass in actions/github-script#486
Fix workflow status badges by @joshmgross in actions/github-script#497
Update usage of actions/upload-artifact by @joshmgross in actions/github-script#512
Clear up package name confusion by @joshmgross in actions/github-script#514
Update dependencies with npm audit fix by @joshmgross in actions/github-script#515
Specify that the used script is JavaScript by @timotk in actions/github-script#478
chore: Add Dependabot for NPM and Actions by @nschonni in actions/github-script#472
... (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 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
Open Graph Description: Bumps actions/github-script from 6 to 9. Release notes Sourced from actions/github-script's releases. v9.0.0 New features: getOctokit factory function — Available directly in the script cont...
X Description: Bumps actions/github-script from 6 to 9. Release notes Sourced from actions/github-script's releases. v9.0.0 New features: getOctokit factory function — Available directly in the script ...
Opengraph URL: https://github.com/base44/javascript-sdk/pull/183
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5d47e4f1-a99d-72ee-ede4-d2c6d7fb0879 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB88:9B222:9BF271:D00A84:6A4C4A21 |
| html-safe-nonce | a0348556061778999b328cc3615da04f1b6267f310298939e40e7f4597f851a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjg4OjlCMjIyOjlCRjI3MTpEMDBBODQ6NkE0QzRBMjEiLCJ2aXNpdG9yX2lkIjoiNDY5MTAyNzY4OTgwNDE1NTQyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3bf2cc70ad9284b787fd9be5ae385fa5c4a4e12ceef3a4abb8d160f8b82a5d5 |
| hovercard-subject-tag | pull_request:3823942979 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/base44/javascript-sdk/pull/183/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps actions/github-script from 6 to 9. Release notes Sourced from actions/github-script's releases. v9.0.0 New features: getOctokit factory function — Available directly in the script cont... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/base44/javascript-sdk git https://github.com/base44/javascript-sdk.git |
| octolytics-dimension-user_id | 234699998 |
| octolytics-dimension-user_login | base44 |
| octolytics-dimension-repository_id | 939374418 |
| octolytics-dimension-repository_nwo | base44/javascript-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 939374418 |
| octolytics-dimension-repository_network_root_nwo | base44/javascript-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 65d78903193f110d7a9d1f8587c6dc3cb911aae0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width