Skip to content

Commit

Permalink
Do not comment twice if backporting fails due to merge conflicts. (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis authored Dec 4, 2024
1 parent 2fd9b39 commit 7fff497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backport-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ jobs:
issue_number: pr_number,
body: git_am_failed_body
});
throw new Error("Error: git am failed, most likely due to a merge conflict.", false);
core.setFailed("Error: git am failed, most likely due to a merge conflict.");
return;
}
else {
// push the temp branch to the repository
Expand Down

0 comments on commit 7fff497

Please sign in to comment.