Skip to content

Commit

Permalink
fix: query bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed May 2, 2021
1 parent 3adb50e commit cee6be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7398,7 +7398,7 @@ async function run() {
(result.commitState === 'success' || result.commitState === 'pending') &&
!result.ifCIHasFailure
) {
const onePR = await getOnePR(owner, repo, it.number);
const onePR = await getOnePR(owner, repo, number);
if (onePR.mergeable_state === 'dirty') {
await doPRReview(owner, repo, number, 'REQUEST_CHANGES', conflictReviewBody);
await doClosePR(owner, repo, number);
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function run() {
(result.commitState === 'success' || result.commitState === 'pending') &&
!result.ifCIHasFailure
) {
const onePR = await getOnePR(owner, repo, it.number);
const onePR = await getOnePR(owner, repo, number);
if (onePR.mergeable_state === 'dirty') {
await doPRReview(owner, repo, number, 'REQUEST_CHANGES', conflictReviewBody);
await doClosePR(owner, repo, number);
Expand Down

0 comments on commit cee6be4

Please sign in to comment.