Skip to content

deps(gh-actions): bump actions/github-script from 8 to 9#136

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

deps(gh-actions): bump actions/github-script from 8 to 9#136
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/actions/github-script-9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 1, 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 auto-merge Auto-merge enabled dependencies github-actions Add or modify workflows labels May 1, 2026
@dependabot dependabot Bot requested a review from adcondev as a code owner May 1, 2026 09:57
@dependabot dependabot Bot added dependencies auto-merge Auto-merge enabled github-actions Add or modify workflows labels May 1, 2026
@github-actions github-actions Bot added major-update Major version update needs-review Requires manual review labels May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

💥 Major Version Update

This PR contains a major version update that requires manual review before merging.

📦 Update Details

Item Value
Dependency actions/github-script
Ecosystem github_actions
Current Version 8
New Version 9
Update Type version-update:semver-major

✅ Review Checklist

🔗 Useful Links


ℹ️ Once reviewed, manually approve and merge this PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

👋 Thanks for opening this PR, @dependabot[bot]!

Here's what will happen next:

  • 🤖 Automated checks will run
  • 🏷️ Labels will be added automatically
  • 👀 A maintainer will review your changes

Please make sure:

  • ✅ All tests pass
  • 📝 The PR title follows conventional commits
  • 📋 The PR template is filled out completely

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

⚡ Benchmark Results

📈 Performance Comparison

📊 Click to expand detailed results

Current Branch Results

BenchmarkNewDocument-4    	1000000000	         0.2890 ns/op	       0 B/op	       0 allocs/op
BenchmarkBuildSimple-4    	 3649293	       335.2 ns/op	     240 B/op	       4 allocs/op
BenchmarkBuildComplex-4   	  435013	      2675 ns/op	    1809 B/op	      25 allocs/op
BenchmarkToJSON-4         	  605384	      1889 ns/op	     592 B/op	       3 allocs/op
BenchmarkParseDocument_Minimal-4    	  535014	      2116 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Receipt-4    	  112190	     10563 ns/op	    2392 B/op	      34 allocs/op
BenchmarkCommandUnmarshal_Text-4    	  462031	      2521 ns/op	     568 B/op	      19 allocs/op
BenchmarkCommandUnmarshal_Table-4   	  301158	      3907 ns/op	     944 B/op	      21 allocs/op
BenchmarkTextCommandParsing-4       	  573279	      1992 ns/op	     544 B/op	      16 allocs/op
BenchmarkTableCommandParsing-4      	  267806	      4370 ns/op	    1000 B/op	      29 allocs/op
BenchmarkParseHexString-4           	 7909592	       155.9 ns/op	      48 B/op	       2 allocs/op
BenchmarkCleanHexString-4           	 6919572	       174.0 ns/op	      64 B/op	       2 allocs/op
BenchmarkContainsSequence-4         	208037629	         5.764 ns/op	       0 B/op	       0 allocs/op
BenchmarkCheckCriticalCommands-4    	30407583	        40.16 ns/op	       0 B/op	       0 allocs/op
BenchmarkDocument_Validate-4       	16652934	        71.92 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseDocument_Simple-4    	  541410	      2159 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Complex-4   	  164842	      7158 ns/op	    1352 B/op	      26 allocs/op
BenchmarkPrintImage_Small-4             	     576	   2187741 ns/op	 3469943 B/op	      24 allocs/op
BenchmarkPrintImage_Medium-4            	     286	   4272321 ns/op	 5481079 B/op	      24 allocs/op
BenchmarkPrintImage_ThermalPreview-4    	     144	   8152767 ns/op	 5231176 B/op	  230423 allocs/op

Base Branch Results

BenchmarkNewDocument-4    	1000000000	         0.2895 ns/op	       0 B/op	       0 allocs/op
BenchmarkBuildSimple-4    	 3534462	       334.8 ns/op	     240 B/op	       4 allocs/op
BenchmarkBuildComplex-4   	  436105	      2673 ns/op	    1809 B/op	      25 allocs/op
BenchmarkToJSON-4         	  604975	      1910 ns/op	     592 B/op	       3 allocs/op
BenchmarkParseDocument_Minimal-4    	  554468	      2134 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Receipt-4    	  112180	     10652 ns/op	    2392 B/op	      34 allocs/op
BenchmarkCommandUnmarshal_Text-4    	  461212	      2538 ns/op	     568 B/op	      19 allocs/op
BenchmarkCommandUnmarshal_Table-4   	  293222	      3926 ns/op	     944 B/op	      21 allocs/op
BenchmarkTextCommandParsing-4       	  570424	      2014 ns/op	     544 B/op	      16 allocs/op
BenchmarkTableCommandParsing-4      	  268183	      4466 ns/op	    1000 B/op	      29 allocs/op
BenchmarkParseHexString-4           	 7782970	       154.7 ns/op	      48 B/op	       2 allocs/op
BenchmarkCleanHexString-4           	 6903940	       173.6 ns/op	      64 B/op	       2 allocs/op
BenchmarkContainsSequence-4         	208029226	         5.769 ns/op	       0 B/op	       0 allocs/op
BenchmarkCheckCriticalCommands-4    	30156249	        40.10 ns/op	       0 B/op	       0 allocs/op
BenchmarkDocument_Validate-4       	16612768	        72.09 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseDocument_Simple-4    	  544620	      2172 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Complex-4   	  164084	      7252 ns/op	    1352 B/op	      26 allocs/op
BenchmarkPrintImage_Small-4             	     555	   2071073 ns/op	 3469940 B/op	      24 allocs/op
BenchmarkPrintImage_Medium-4            	     284	   4205313 ns/op	 5481078 B/op	      24 allocs/op
BenchmarkPrintImage_ThermalPreview-4    	     144	   8239790 ns/op	 5231175 B/op	  230423 allocs/op

💡 Note: Use benchstat for statistical comparison

🎯 Summary

  • Total Benchmarks: 32
  • Average Speed: 2782093 ns/op
  • Average Memory: 2396764 B/op
  • Average Allocations: 41077 allocs/op

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale label May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Auto-merge enabled dependencies gh-actions github github-actions Add or modify workflows major-update Major version update needs-review Requires manual review size/XS stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants