Skip to content

Commit 83e5a44

Browse files
author
Adam Duncan
committed
Switch to token based auth
1 parent 4efc22d commit 83e5a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const githubToken = process.env.GITHUB_TOKEN
1111
const sharedKey = process.env.PLUGIN_SECRET
1212

1313
const gh = new GhApi({ version: '3.0.0' })
14-
gh.authenticate({ type: 'oauth', token: githubToken })
14+
gh.authenticate({ type: 'token', token: githubToken })
1515

1616
const determineFilesChanged = createFilesChangedDeterminer(gh)
1717
const getParsedYaml = createParsedYamlRetriever(gh)

0 commit comments

Comments
 (0)