Fix thumbs up (👍) checking
This commit is contained in:
parent
f502fe0858
commit
e63bd7fd86
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
|
||||||
|
|
||||||
// Check if there are thumbs up (:+1:) reactions
|
// Check if there are thumbs up (:+1:) reactions
|
||||||
for _, comment := range comments {
|
for _, comment := range comments {
|
||||||
if comment.GetBody() == "+1" || comment.GetBody() == ":+1:" || comment.GetBody() == ":+1: " {
|
if strings.Contains(comment.GetBody(), "+1") {
|
||||||
reactionCount++
|
reactionCount++
|
||||||
|
|
||||||
if reactionCount >= reactionCountGoal {
|
if reactionCount >= reactionCountGoal {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue