question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outdated octokit dependency

See original GitHub issue

Problem

My builds are failing this morning to what I can only perceive as as an action bug?

Deprecation: [@octokit/request-error] `error.code` is deprecated, use `error.status`.
    at o.get (/home/runner/work/_actions/changesets/action/master/dist/index.js:94:444)
    at f (/home/runner/work/_actions/changesets/action/master/dist/index.js:1444:1696)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  name: 'Deprecation'
}
o [HttpError]: Validation Failed
##[error]Validation Failed

https://github.com/autoguru-au/overdrive/runs/828749495?check_suite_focus=true#step:7:41

Proposed solution

Not too sure, this could be unrelated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
maraisrcommented, Jul 6, 2020

Thank you so much for your continued efforts here @Andarist ❤️ I appreciate you

1reaction
Andaristcommented, Jul 6, 2020

@maraisr I’m pretty sure that I know what’s wrong. It’s a regression from https://github.com/changesets/action/pull/35 . Gonna fix this most likely tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependencies are outdated and some result in errors #50
If you are running the cli, use conventional-changelog-cli npm WARN deprecated github@0.1.16: 'github' has been renamed to '@octokit/rest' ...
Read more >
octokit/rest.js - GitHub Pages
Create a snapshot of dependencies for a repository; Get a diff of the dependencies ... Using an expired token produces a status code...
Read more >
how to fix octokit.authenticate() is deprecated - Stack Overflow
=> octokit.authenticate() is deprecated. Use "auth" constructor option instead. How can I fix it? my code module.
Read more >
octokit - npm
The octokit package integrates the three main Octokit libraries. API client (REST API requests, GraphQL API queries, Authentication) ...
Read more >
GitHub Automation with Octokit (with Gregor Martynus)
GitHub has powerful APIs, and with Octokit we can do just about anything on GitHub through code. Gregor Martynus will teach us how!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found