Skip to content

Commit e0f108f

Browse files
committed
Stop spamming Jira Issues
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
1 parent 8cec51f commit e0f108f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/jira/jira.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func (c *Verifier) commentIssue(errs *[]error, issue *jiraBaseClient.Issue, mess
192192
for _, comment := range issue.Fields.Comments.Comments {
193193
// if a ticket is on the verified state but does not contain a comment from the bot, it will add one
194194
// if a manually verified ticket is already commented, we won't check the message body
195-
if (comment.Body == message || strings.EqualFold(issue.Fields.Status.Name, jira.StatusVerified)) && (comment.Author.Name == "openshift-crt-jira-release-controller" || comment.Author.EmailAddress == "brawilli+openshift-crt-jira-release-controller@redhat.com") {
195+
if (comment.Body == message || strings.EqualFold(issue.Fields.Status.Name, jira.StatusVerified)) && (comment.Author.Name == "openshift-crt-jira-release-controller" || comment.Author.EmailAddress == "brawilli+openshift-crt-jira-release-controller@redhat.com" || comment.Author.EmailAddress == "brawilli@redhat.com") {
196196
return
197197
}
198198
}

0 commit comments

Comments
 (0)