Skip to content

Update actions/github-script action to v9#28271

Merged
tryghost-renovate[bot] merged 1 commit into
mainfrom
renovate/actions-github-script-9.x
May 31, 2026
Merged

Update actions/github-script action to v9#28271
tryghost-renovate[bot] merged 1 commit into
mainfrom
renovate/actions-github-script-9.x

Conversation

@tryghost-renovate
Copy link
Copy Markdown
Contributor

@tryghost-renovate tryghost-renovate Bot commented May 31, 2026

This PR contains the following updates:

Package Type Update Change
actions/github-script action major v8v9

Release Notes

actions/github-script (actions/github-script)

v9.0.0

Compare Source

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

v9

Compare Source


Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
    • Between 11:00 PM and 11:59 PM, Monday through Friday (* 23 * * 1-5)
    • Between 12:00 AM and 04:59 AM, Monday through Saturday (* 0-4 * * 1-6)
  • Automerge
    • Only on Sunday and Saturday (* * * * 0,6)
    • Between 11:00 PM and 11:59 PM, Monday through Friday (* 23 * * 1-5)
    • Between 12:00 AM and 04:59 AM, Monday through Saturday (* 0-4 * * 1-6)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label May 31, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.64%. Comparing base (dbca587) to head (40f79d9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #28271   +/-   ##
=======================================
  Coverage   73.64%   73.64%           
=======================================
  Files        1536     1536           
  Lines      130817   130817           
  Branches    15657    15657           
=======================================
  Hits        96334    96334           
+ Misses      33496    33494    -2     
- Partials      987      989    +2     
Flag Coverage Δ
admin-tests 54.18% <ø> (-0.03%) ⬇️
e2e-tests 73.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tryghost-renovate tryghost-renovate Bot merged commit e99e203 into main May 31, 2026
55 checks passed
@tryghost-renovate tryghost-renovate Bot deleted the renovate/actions-github-script-9.x branch May 31, 2026 22:45
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants