Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ func main() {

return fetchErr
}); err != nil {
if configs.PullRequestID != "" && configs.PullRequestMergeBranch != "" {
log.Warnf("Failed to fetch pull request, this happens most likely because the pull request is closed or has conflict.")
}
log.Errorf("Failed, error: %s", err)
os.Exit(1)
}
Expand Down