Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
7 changes: 2 additions & 5 deletions modules/actions/workflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,8 @@ func matchIssuesEvent(issuePayload *api.IssuePayload, evt *jobparser.Event) bool
}

for _, val := range vals {
for _, action := range actions {
if glob.MustCompile(val, '/').Match(action) {
matchTimes++
break
}
if slices.ContainsFunc(actions, glob.MustCompile(val, '/').Match) {
matchTimes++
}
// Once a match is found for this value, we can move to the next one
if matchTimes > 0 {
Expand Down
Loading