Skip to content

Commit 08fdc05

Browse files
build(deps): bump @actions/github from 5.0.3 to 5.1.0 (#571)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent b2bfd0f commit 08fdc05

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

dist/post_run/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,8 +3744,9 @@ exports.context = new Context.Context();
37443744
* @param token the repo PAT or GITHUB_TOKEN
37453745
* @param options other options to set
37463746
*/
3747-
function getOctokit(token, options) {
3748-
return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));
3747+
function getOctokit(token, options, ...additionalPlugins) {
3748+
const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins);
3749+
return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options));
37493750
}
37503751
exports.getOctokit = getOctokit;
37513752
//# sourceMappingURL=github.js.map

dist/run/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,8 +3744,9 @@ exports.context = new Context.Context();
37443744
* @param token the repo PAT or GITHUB_TOKEN
37453745
* @param options other options to set
37463746
*/
3747-
function getOctokit(token, options) {
3748-
return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));
3747+
function getOctokit(token, options, ...additionalPlugins) {
3748+
const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins);
3749+
return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options));
37493750
}
37503751
exports.getOctokit = getOctokit;
37513752
//# sourceMappingURL=github.js.map

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@actions/cache": "^3.0.3",
2828
"@actions/core": "^1.9.1",
2929
"@actions/exec": "^1.1.1",
30-
"@actions/github": "^5.0.3",
30+
"@actions/github": "^5.1.0",
3131
"@actions/http-client": "^2.0.1",
3232
"@actions/tool-cache": "^2.0.1",
3333
"@types/semver": "^7.3.12",

0 commit comments

Comments
 (0)