diff --git a/.github/workflows/devdocs-review.yml b/.github/workflows/devdocs-review.yml index 69b11cf..ecf1cb7 100644 --- a/.github/workflows/devdocs-review.yml +++ b/.github/workflows/devdocs-review.yml @@ -1,9 +1,11 @@ name: Notify DevDocs on Reviews on: + issue_comment: + types: [created, edited] pull_request_review_comment: types: [created, edited] - pull_request: + pull_request_target: types: [opened, edited] pull_request_review: types: [submitted, edited] @@ -22,7 +24,7 @@ jobs: || context.payload.review?.body || ""; - if (text.includes("@DevDocs") || text.includes("@10gen/devdocs")) { + if (text.includes("@DevDocs") || text.includes("@mongodb/devdocs")) { await fetch(process.env.SLACK_WEBHOOK_URL, { method: "POST", headers: { "Content-Type": "application/json" },