You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 😉
The text was updated successfully, but these errors were encountered:
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 😉
The text was updated successfully, but these errors were encountered: