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

github auth will change #64

Open
hx-markterry opened this issue Aug 19, 2020 · 0 comments
Open

github auth will change #64

hx-markterry opened this issue Aug 19, 2020 · 0 comments

Comments

@hx-markterry
Copy link
Contributor

The github.authenticate() function is deprecated (and has been for a long time now), and needs changing to something like this:
11:34
const { Octokit } = require('@octokit/rest')
const github = new Octokit({
userAgent: 'holidayextras/dockyard-deploy',
auth: process.env.GITHUB_TOKEN
})
^^ preferably with a more descriptive name to make it easier to identify clients 😉

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

1 participant