Skip to content

Build(deps): Bump actions/github-script from 8 to 9#328

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/github-script-9
Open

Build(deps): Bump actions/github-script from 8 to 9#328
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/github-script-9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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 Apr 10, 2026
@github-actions
Copy link
Copy Markdown

Test Coverage Report

Total Coverage: 70.8%

Detailed Report
File Function Coverage
mistletoe/cmd/mstl-gh/main.go:15: main 0.0%
mistletoe/cmd/mstl/main.go:15: main 0.0%
mistletoe/internal/app/config_search.go:14: SearchParentConfig 77.3%
mistletoe/internal/app/config_search.go:67: validateParentConfig 64.0%
mistletoe/internal/app/dependency.go:24: LoadDependencies 100.0%
mistletoe/internal/app/dependency.go:34: ParseDependencies 100.0%
mistletoe/internal/app/dependency.go:132: extractID 100.0%
mistletoe/internal/app/dependency.go:140: addDependency 100.0%
mistletoe/internal/app/fire.go:16: handleFire 80.0%
mistletoe/internal/app/fire.go:40: resolveConfigForFire 100.0%
mistletoe/internal/app/fire.go:47: fireCommand 92.3%
mistletoe/internal/app/fire.go:100: processFireRepo 73.7%
mistletoe/internal/app/fire.go:140: runGitFire 100.0%
mistletoe/internal/app/fire.go:150: getSafeUsername 41.7%
mistletoe/internal/app/fire.go:172: sanitizeName 83.3%
mistletoe/internal/app/fire.go:184: getShortUUID 80.0%
mistletoe/internal/app/flags.go:14: ParseFlagsFlexible 93.1%
mistletoe/internal/app/flags.go:71: CheckFlagDuplicates 100.0%
mistletoe/internal/app/flags.go:95: isBoolFlag 100.0%
mistletoe/internal/app/help.go:7: handleHelp 100.0%
mistletoe/internal/app/init.go:25: ensureBranchExistsLocally 27.3%
mistletoe/internal/app/init.go:58: isDirEmpty 80.0%
mistletoe/internal/app/init.go:76: checkRootDirectorySafety 93.8%
mistletoe/internal/app/init.go:134: validateEnvironment 63.5%
mistletoe/internal/app/init.go:229: PerformInit 75.0%
mistletoe/internal/app/init.go:307: validateAndPrepareInitDest 77.3%
mistletoe/internal/app/init.go:349: handleInit 100.0%
mistletoe/internal/app/init.go:353: initCommand 85.3%
mistletoe/internal/app/pr.go:9: HandlePr 0.0%
mistletoe/internal/app/pr_body_logic.go:25: GenerateMistletoeBody 98.3%
mistletoe/internal/app/pr_body_logic.go:231: GeneratePlaceholderMistletoeBody 0.0%
mistletoe/internal/app/pr_body_logic.go:261: EmbedMistletoeBody 96.2%
mistletoe/internal/app/pr_body_logic.go:325: ParseMistletoeBlock 89.4%
mistletoe/internal/app/pr_checkout.go:18: handlePrCheckout 0.0%
mistletoe/internal/app/pr_checkout.go:24: prCheckoutCommand 53.5%
mistletoe/internal/app/pr_checkout.go:324: writeDependencyFile 100.0%
mistletoe/internal/app/pr_common.go:58: CollectPrStatus 91.5%
mistletoe/internal/app/pr_common.go:246: getPrDisplayState 71.4%
mistletoe/internal/app/pr_common.go:263: SortPrs 92.9%
mistletoe/internal/app/pr_common.go:295: RenderPrStatusTable 84.2%
mistletoe/internal/app/pr_common.go:332: executePush 0.0%
mistletoe/internal/app/pr_common.go:385: updatePrDescriptions 64.2%
mistletoe/internal/app/pr_common.go:527: parsePrURL 81.8%
mistletoe/internal/app/pr_common.go:545: getRepoName 66.7%
mistletoe/internal/app/pr_common.go:555: resolveRemoteBranchHash 69.2%
mistletoe/internal/app/pr_common.go:586: checkGhAvailability 100.0%
mistletoe/internal/app/pr_common.go:601: verifyGithubRequirements 61.2%
mistletoe/internal/app/pr_common.go:729: LoadDependencyGraph 92.3%
mistletoe/internal/app/pr_common_helper.go:10: GetGhUser 75.0%
mistletoe/internal/app/pr_common_helper.go:20: ValidatePrPermissionAndOverwrite 90.0%
mistletoe/internal/app/pr_common_helper.go:51: isPrFromConfiguredRepo 100.0%
mistletoe/internal/app/pr_create.go:21: handlePrCreate 0.0%
mistletoe/internal/app/pr_create.go:28: prCreateCommand 16.0%
mistletoe/internal/app/pr_create.go:526: executePrCreationOnly 57.8%
mistletoe/internal/app/pr_input_logic.go:19: ParsePrTitleBody 93.3%
mistletoe/internal/app/pr_status.go:16: handlePrStatus 0.0%
mistletoe/internal/app/pr_status.go:22: prStatusCommand 77.8%
mistletoe/internal/app/pr_update.go:18: handlePrUpdate 0.0%
mistletoe/internal/app/pr_update.go:24: prUpdateCommand 27.1%
mistletoe/internal/app/pr_update.go:247: categorizePrUpdate 100.0%
mistletoe/internal/app/pr_verify.go:13: VerifyRevisionsUnchanged 87.5%
mistletoe/internal/app/push.go:15: handlePush 83.3%
mistletoe/internal/app/reset.go:25: resolveResetTarget 100.0%
mistletoe/internal/app/reset.go:45: verifyResetTargetWithResolution 85.7%
mistletoe/internal/app/reset.go:82: handleReset 75.2%
mistletoe/internal/app/run.go:31: parseArgs 80.0%
mistletoe/internal/app/run.go:44: getGitPath 66.7%
mistletoe/internal/app/run.go:51: getGhPath 0.0%
mistletoe/internal/app/run.go:58: validateGit 100.0%
mistletoe/internal/app/run.go:63: validateGh 100.0%
mistletoe/internal/app/run.go:68: validateGhAuth 100.0%
mistletoe/internal/app/run.go:74: Run 0.0%
mistletoe/internal/app/run.go:82: RunApp 53.7%
mistletoe/internal/app/snapshot.go:20: handleSnapshot 83.5%
mistletoe/internal/app/snapshot.go:245: GenerateSnapshot 0.0%
mistletoe/internal/app/snapshot.go:258: GenerateSnapshotVerbose 76.9%
mistletoe/internal/app/snapshot.go:345: GenerateSnapshotFromStatus 89.5%
mistletoe/internal/app/snapshot.go:428: CalculateSnapshotIdentifier 76.9%
mistletoe/internal/app/status.go:14: handleStatus 91.5%
mistletoe/internal/app/status_logic.go:40: ValidateRepositoriesIntegrity 88.9%
mistletoe/internal/app/status_logic.go:80: CollectStatus 100.0%
mistletoe/internal/app/status_logic.go:110: getRepoStatus 88.2%
mistletoe/internal/app/status_logic.go:299: RenderStatusTable 95.0%
mistletoe/internal/app/status_logic.go:357: ValidateStatusForAction 100.0%
mistletoe/internal/app/switch.go:18: branchExists 100.0%
mistletoe/internal/app/switch.go:23: configureUpstreamIfSafe 76.2%
mistletoe/internal/app/switch.go:67: handleSwitch 84.5%
mistletoe/internal/app/sync.go:16: handleSync 80.7%
mistletoe/internal/app/utils.go:24: formatDuration 100.0%
mistletoe/internal/app/utils.go:34: RunGit 100.0%
mistletoe/internal/app/utils.go:66: RunGitInteractive 100.0%
mistletoe/internal/app/utils.go:97: RunGh 100.0%
mistletoe/internal/app/utils.go:128: RunEditor 76.0%
mistletoe/internal/app/utils.go:176: ResolveCommonValues 92.1%
mistletoe/internal/app/utils.go:266: DetermineJobs 100.0%
mistletoe/internal/app/version_common.go:11: printCommonVersionInfo 73.9%
mistletoe/internal/app/version_gh.go:11: handleVersionGh 80.0%
mistletoe/internal/app/version_mstl.go:4: handleVersionMstl 100.0%
mistletoe/internal/config/config.go:64: ParseConfig 100.0%
mistletoe/internal/config/config.go:84: validateConfig 95.0%
mistletoe/internal/config/config.go:163: isValidGitRef 100.0%
mistletoe/internal/config/config.go:173: GetRepoDirName 100.0%
mistletoe/internal/config/config.go:188: GetRepoPath 100.0%
mistletoe/internal/config/config.go:193: LoadConfigData 100.0%
mistletoe/internal/config/config.go:207: LoadConfigFile 78.6%
mistletoe/internal/ui/ui.go:16: AskForConfirmation 0.0%
mistletoe/internal/ui/ui.go:37: AskForConfirmationRequired 0.0%
mistletoe/internal/ui/ui.go:69: NewSpinner 0.0%
mistletoe/internal/ui/ui.go:78: Start 0.0%
mistletoe/internal/ui/ui.go:102: Stop 0.0%

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.

0 participants