Skip to content

Commit ec2d795

Browse files
Merge pull request #28 from mongodb/antoniomorello-DB-patch-1
Update devdocs-review.yml
2 parents c0916bd + 52b8d1d commit ec2d795

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/devdocs-review.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: Notify DevDocs on Reviews
22

33
on:
4+
issue_comment:
5+
types: [created, edited]
46
pull_request_review_comment:
57
types: [created, edited]
6-
pull_request:
8+
pull_request_target:
79
types: [opened, edited]
810
pull_request_review:
911
types: [submitted, edited]
@@ -22,7 +24,7 @@ jobs:
2224
|| context.payload.review?.body
2325
|| "";
2426
25-
if (text.includes("@DevDocs") || text.includes("@10gen/devdocs")) {
27+
if (text.includes("@DevDocs") || text.includes("@mongodb/devdocs")) {
2628
await fetch(process.env.SLACK_WEBHOOK_URL, {
2729
method: "POST",
2830
headers: { "Content-Type": "application/json" },

0 commit comments

Comments
 (0)