Skip to content

Commit d270db2

Browse files
committed
fix: fix octokit call
1 parent aef9a98 commit d270db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default class CommitManager {
147147
await exec("git", ["push", "-f", `https://${process.env.GITHUB_ACTOR}:${this.githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git`, `HEAD:${this.branch}`])
148148
const octokit = new GitHub(this.githubToken)
149149
const pullRequest =
150-
(await octokit.rest.pulls.list({
150+
(await octokit.pulls.list({
151151
...context.repo,
152152
head: `${context.repo.owner}:${this.branch}`,
153153
}))[0]

0 commit comments

Comments
 (0)