Skip to content

Commit 392322f

Browse files
committed
skip checkmate on merge_group
1 parent c688a86 commit 392322f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/checkmate/action.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ func Run(ctx context.Context, cfg *Config, action *githubactions.Action, gh *git
1616
if err != nil {
1717
return err
1818
}
19+
switch githubContext.EventName {
20+
case "merge_group":
21+
action.Infof("skipping checkmate on %s", githubContext.EventName)
22+
return nil
23+
}
1924

2025
pr, err := pullrequest.NewClient(action, gh)
2126
if err != nil {

0 commit comments

Comments
 (0)