Skip to content

Commit 60caa86

Browse files
authored
fix: use authenticated GitHub client for Jenkins updates (#375)
Fixes: #374
1 parent ad3903c commit 60caa86

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/push-jenkins-update.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ function findPrInRef (gitRef) {
7878
}
7979

8080
async function findLatestCommitInPr (options) {
81-
const { Octokit } = require('@octokit/rest')
82-
const githubClient = new Octokit({})
8381
const paginateOptions = githubClient.pulls.listCommits.endpoint.merge({
8482
owner: options.owner,
8583
repo: options.repo,

0 commit comments

Comments
 (0)