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

Dependency on deprecated Octokit #5

Open
jbrezmorf opened this issue Jul 26, 2022 · 3 comments
Open

Dependency on deprecated Octokit #5

jbrezmorf opened this issue Jul 26, 2022 · 3 comments

Comments

@jbrezmorf
Copy link

Code:

- name: Release
  uses: avakar/tag-and-release@v1
  with:
      tag_name: v${{ steps.getversion.outputs.version }}
      release_name: release_${{ steps.getversion.outputs.version }}
  env:
      GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

results in the error:

[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
@jbrezmorf
Copy link
Author

Seems to be caused by the particular version of the github action in use:
octokit problem

@rxerium
Copy link

rxerium commented Feb 1, 2023

Did you find a fix for this? I'm running the latest version (zaproxy/[email protected]).

@jbrezmorf
Copy link
Author

I don't remember. However, looking at the current version of the repositories, it seems I do not use this action anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants