Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
15e707c
Enhance label event handling in matchIssuesEvent function and add tes…
Sumit189 Apr 29, 2025
76d0a98
Merge branch 'main' into label_delete_event_fix
Sumit189 Apr 29, 2025
cecac31
Enhance matchIssuesEvent function to support multiple label actions a…
Sumit189 Apr 29, 2025
e0ad6b0
Merge branch 'label_delete_event_fix' of https://github.com/Sumit189/…
Sumit189 Apr 29, 2025
6664116
fix assert order
Sumit189 Apr 29, 2025
56314f6
Update modules/actions/workflows.go
Sumit189 Apr 29, 2025
84b684e
Add support for removed labels in issue and pull request notifications
Sumit189 Apr 29, 2025
8b6f3ba
Merge branch 'main' into label_delete_event_fix
Sumit189 May 11, 2025
6aa8ba3
Merge branch 'main' into label_delete_event_fix
Sumit189 May 21, 2025
67d3335
Merge branch 'label_delete_event_fix' of github.com:Sumit189/gitea in…
lunny Sep 8, 2025
141bb3a
Fix test
lunny Sep 8, 2025
e848d7c
Fix checks
lunny Sep 8, 2025
3871a72
fix
lunny Sep 8, 2025
f6ab879
Merge branch 'main' into label_delete_event_fix
Sumit189 Sep 8, 2025
be0855d
Merge branch 'main' into label_delete_event_fix
lunny Sep 9, 2025
bbbe98c
Merge branch 'main' into label_delete_event_fix
Sumit189 Sep 10, 2025
9575dec
Merge branch 'main' into label_delete_event_fix
lunny Sep 12, 2025
fac7e8c
Merge branch 'main' into label_delete_event_fix
lunny Sep 19, 2025
0ca8f14
Merge branch 'main' into label_delete_event_fix
Sumit189 Sep 23, 2025
de00154
Merge branch 'main' into label_delete_event_fix
lunny Sep 24, 2025
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