Skip to content

Commit 9ecde63

Browse files
authored
feat: trigger Marvin workflow on PR body content (#1549)
1 parent 77b425c commit 9ecde63

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/marvin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
issue_comment: { types: [created] }
55
pull_request_review_comment: { types: [created] }
66
pull_request_review: { types: [submitted] }
7+
pull_request: { types: [opened, edited] }
78
issues: { types: [opened, edited, assigned, labeled] }
89
discussion: { types: [created, edited, labeled] }
910
discussion_comment: { types: [created] }
@@ -22,6 +23,7 @@ jobs:
2223
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '/marvin')) ||
2324
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '/marvin')) ||
2425
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '/marvin')) ||
26+
(github.event_name == 'pull_request' && contains(github.event.pull_request.body, '/marvin')) ||
2527
(github.event_name == 'issues' && contains(github.event.issue.body, '/marvin')) ||
2628
(github.event_name == 'discussion' && contains(github.event.discussion.body, '/marvin')) ||
2729
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '/marvin')) ||

0 commit comments

Comments
 (0)