Update actions/github-script action to v9#100
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2→v9Release Notes
actions/github-script (actions/github-script)
v9.0.0Compare Source
New features:
getOctokitfactory 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 withgetOctokitfor details and examples.ACTIONS_ORCHESTRATION_IDenvironment 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/githubv9 (ESM-only) meansrequire('@​actions/github')will fail at runtime. If you previously used patterns likeconst { getOctokit } = require('@​actions/github')to create secondary clients, use the new injectedgetOctokitfunction instead — it's available directly in the script context with no imports needed.getOctokitis now an injected function parameter. Scripts that declareconst getOctokit = ...orlet getOctokit = ...will get aSyntaxErrorbecause JavaScript does not allowconst/letredeclaration of function parameters. Use the injectedgetOctokitdirectly, or usevar getOctokit = ...if you need to redeclare it.@actions/githubinternals beyond the standardgithub/octokitclient, 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
v9Compare Source
v8.0.0Compare Source
v8: .0.0Compare Source
What's Changed
v2.327.1
Release Notes
Make sure your runner is updated to this version or newer to use this release.
New Contributors
Full Changelog: actions/github-script@v7.1.0...v8.0.0
v7.1.0Compare Source
What's Changed
actions/upload-artifactby @joshmgross in #512npm audit fixby @joshmgross in #515permissionsin workflows and update actions by @joshmgross in #531octokitREADME updates for v7 by @joshmgross in #557scriptby @joshmgross in #603New Contributors
Full Changelog: actions/github-script@v7...v7.1.0
v7.0.1Compare Source
What's Changed
baseUrlto undefined when input is not provided by @joshmgross in #439Full Changelog: actions/github-script@v7.0.0...v7.0.1
v7.0.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v6.4.1...v7.0.0
v7Compare Source
v6.4.1Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v6.4.0...v6.4.1
v6.4.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v6.3.3...v6.4.0
v6.3.3Compare Source
What's Changed
@actions/globto 0.3.0 by @nineinchnick in #279New Contributors
Full Changelog: actions/github-script@v6.3.2...v6.3.3
v6.3.2Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v6.3.1...v6.3.2
v6.3.1Compare Source
What's Changed
Full Changelog: actions/github-script@v6.3.0...v6.3.1
v6.3.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v6.2.0...v6.3.0
v6.2.0Compare Source
What's Changed
@octokit/plugin-rest-endpoint-methodsto version 6.x by @desrosj in #283New Contributors
Full Changelog: actions/github-script@v6.1.1...v6.2.0
v6.1.1Compare Source
What's Changed
Non-code changes
New Contributors
Full Changelog: actions/github-script@v6.1.0...v6.1.1
v6.1.0Compare Source
What's Changed
@actions/coreto 1.8.1 by @smaeda-ks in #263New Contributors
Full Changelog: actions/github-script@v6.0.0...v6.1.0
v6.0.0Compare Source
What's Changed
node-fetchby @joshmgross in #237@actions/coreto 1.6.0 by @joshmgross in #238Breaking Changes
With the update to Node 16 in #235, all scripts will now be run with Node 16 rather than Node 12.
New Contributors
Full Changelog: actions/github-script@v5...v6.0.0
v6Compare Source
v5.2.0Compare Source
What's Changed
Full Changelog: actions/github-script@v5.1.1...v5.2.0
v5.1.1Compare Source
What's Changed
Full Changelog: actions/github-script@v5.1.0...v5.1.1
v5.1.0Compare Source
What's Changed
jonabc/setup-licensedin workflow by @joshmgross in #228New Contributors
Full Changelog: actions/github-script@v5.0.0...v5.1.0
v5.0.0Compare Source
What's Changed
Breaking Changes
As part of this update, the Octokit context available via
githubno longer has REST methods directly. These methods are available viagithub.rest.*- https://github.com/octokit/plugin-rest-endpoint-methods.js/releases/tag/v5.0.0See https://github.com/actions/github-script#breaking-changes-in-v5
Full Changelog: actions/github-script@v4.1.1...v5.0.0
v5Compare Source
v4.2.0Compare Source
What's Changed
Full Changelog: actions/github-script@v4.1.1...v4.2.0
v4.1.1Compare Source
What's Changed
Full Changelog: actions/github-script@v4.1.0...v4.1.1
v4.1.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/github-script@v4.0.2...v4.1.0
v4.1Compare Source
v4.0.2: Update @actions/core packageCompare Source
This release updates the
@actions/corepackage to 1.2.7 - #137v4.0.1: Fix "require" search pathCompare Source
Previously, the wrapped
requiresearched the existingmodule.pathsand thenprocess.cwd(). We now only searchprocess.cwd(). See #136 for details.v4.0.0: Add support for relative and npm package requireCompare Source
This release adds support for relative require paths, as well as requiring npm modules installed in the working directory.
v4.0Compare Source
v4Compare Source
v3.2.0Compare Source
What's Changed
Full Changelog: actions/github-script@v3.1.1...v3.2.0
v3.1.1: Add@actions/globpackageCompare Source
This releases adds the
@actions/globpackage, which can be used in scripts via theglobvariable - #127v3.1.0: Update Octokit DependenciesCompare Source
This release adds the latest Octokit dependencies.
v3.1Compare Source
v3.0.2: Fix buildCompare Source
I made an error in building v3.0.1, and this resolves that.
v3.0.1: Bump actions-coreCompare Source
This release bumps actions-core to 1.2.6.
v3.0.0: Update Octokit/Actions ToolkitCompare Source
The Actions and Octokit dependencies have been bumped. Since they contain major version updates, this also constitutes a major version update for this action:
{ "@​actions/core": "^1.2.4", "@​actions/github": "^4.0.0", "@​actions/io": "^1.0.2", "@​octokit/core": "^3.1.2", "@​octokit/plugin-paginate-rest": "^2.3.0", "@​octokit/plugin-rest-endpoint-methods": "^4.1.2" }v3.0Compare Source
v3Compare Source
v2.1.0Compare Source
What's Changed
Full Changelog: actions/github-script@v2...v2.1.0
v2.0.1: Vendor third-party licensesCompare Source
This release includes vendored licenses for this action's npm dependencies.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.