GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update `@octokit/plugin-rest-endpoint-methods` to version 6.x by desrosj · Pull Request #283 · actions/github-script

Conversation

@desrosj

@desrosj desrosj commented Aug 18, 2022

Copy link
Copy Markdown
Contributor

This updates the dependency to the latest version within current SemVer constraints.

v5.14.0 specifically includes a number of new endpoints, including .rest.actions.reRunWorkflowFailedJobs(), which is the one I am trying to use when discovering this issue. Currently the following error is given:

Error: Unhandled error: TypeError: github.rest.actions.reRunWorkflowFailedJobs is not a function

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@desrosj
Update @octokit/plugin-rest-endpoint-methods.
6e70142
This updates the dependency to the latest version within current SemVer constraints.
@desrosj
desrosj requested a review from a team August 18, 2022 17:52
@desrosj

desrosj commented Aug 18, 2022

Copy link
Copy Markdown
Contributor Author

There is a v16.0.0, however this version drops support for NodeJS v10 & v12. Happy to update this PR if these versions are no longer supported.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@desrosj desrosj mentioned this pull request Aug 18, 2022
Add a callable GitHub Action workflow that auto-restarts after a failure WordPress/wordpress-develop#3111
Closed
@joshmgross

joshmgross commented Aug 18, 2022

Copy link
Copy Markdown
Contributor

Happy to update this PR if these versions are no longer supported.

The latest version of this action is using Node 16, so I'm good with updating to the latest version

https://github.com/actions/github-script/blob/main/action.yml#L29-L30

desrosj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@desrosj
Update @octokit/plugin-rest-endpoint-methods to v6.3.0.
b9c21f1
@desrosj desrosj changed the title Update @octokit/plugin-rest-endpoint-methods. Update @octokit/plugin-rest-endpoint-methods to version 6.x Aug 25, 2022
@desrosj
Update version in package*.json files.
4d94eea
@desrosj

desrosj commented Aug 25, 2022

Copy link
Copy Markdown
Contributor Author

I've updated the version to the latest (v6.3.0).

I also noticed that the version numbers in the package.json and package-lock.json files were not updated for versions 6.1 and 6.1.1. I bumped these to values to 6.2.0 to make it easier to tag the next release after this PR is merged.

joshmgross reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joshmgross
joshmgross approved these changes Aug 26, 2022
View reviewed changes

@joshmgross joshmgross left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

I can push changes to update the licenses.

Since the only breaking changes are dropping support for Node 10 and 12 which won't affect this action, I don't think we need a major version bump to v7 for actions/github-script

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@joshmgross
Update licenses
fc8cad1
@joshmgross
joshmgross merged commit c713e51 into actions:main Aug 26, 2022
@joshmgross

joshmgross commented Aug 26, 2022

Copy link
Copy Markdown
Contributor

Available in https://github.com/actions/github-script/releases/tag/v6.2.0

desrosj reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@desrosj
desrosj deleted the update/plugin-rest-endpoint-methods branch August 26, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@joshmgross joshmgross joshmgross approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@desrosj @joshmgross
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.