We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d92ed7 + f032aea commit 4ec0ebcCopy full SHA for 4ec0ebc
service/getBuildInfos.go
@@ -144,7 +144,7 @@ func detectIfMajor(issueNumber int) bool {
144
for _, comment := range issueComments {
145
// Must have permission in the repo to create a major version
146
// MANNEQUIN|NONE https://docs.github.com/en/graphql/reference/enums#commentauthorassociation
147
- if strings.Contains(comment.Body, "aci=major") && strings.Contains("MANNEQUIN|NONE", comment.AuthorAssociation) {
+ if strings.Contains(comment.Body, "aci=major") && !strings.Contains("MANNEQUIN|NONE", comment.AuthorAssociation) {
148
resBool = true
149
break
150
}
0 commit comments