Skip to content

Commit

Permalink
fix: fix merge condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Nov 6, 2023
1 parent 5ae0a95 commit f5fbed2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function action(
);
}

if (err.length < 0) {
if (err.length == 0) {
const isMerged = await pr.merge();

if (isMerged) {
Expand Down

0 comments on commit f5fbed2

Please sign in to comment.