Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
Dump why fail to remove the label for issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuharuohzeki committed Jun 16, 2021
1 parent cec05fc commit e1c9907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func checkPrIsChangedToMergeable(githubClient *github.Client, githubEventPath st

ctx := context.Background()
if _, err := githubClient.Issues.RemoveLabelForIssue(ctx, repoOwner, repoName, prNumber, needRebaseLabel); err != nil {
log.Printf("#%v is mergeable but fail to remove the label `%v`", prNumber, needRebaseLabel)
log.Printf("#%v is mergeable but fail to remove the label `%v` because `%v`", prNumber, needRebaseLabel, err)
return
}

Expand Down

0 comments on commit e1c9907

Please sign in to comment.