Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const Octokit is deprecated #17

Closed
MauricioFauth opened this issue Jun 21, 2020 · 1 comment
Closed

const Octokit is deprecated #17

MauricioFauth opened this issue Jun 21, 2020 · 1 comment

Comments

@MauricioFauth
Copy link

MauricioFauth commented Jun 21, 2020

https://github.com/phpmyadmin/phpmyadmin/runs/793102151?check_suite_focus=true

Run dessant/lock-threads@v2
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
@netniV
Copy link

netniV commented Jun 30, 2020

This issue is actually caused by the GitHub Toolkit action, see actions/toolkit#333 and was resolved in release 2.1.1 (See https://github.com/actions/toolkit/blob/master/packages/github/RELEASES.md).

I've created a PR to update the dependancy for it #18

@dessant dessant closed this as completed in a016bfb Jul 7, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants