diff --git a/.github/workflows/devdocs-notify.yml b/.github/workflows/devdocs-notify.yml index 91ef71e..e23f62a 100644 --- a/.github/workflows/devdocs-notify.yml +++ b/.github/workflows/devdocs-notify.yml @@ -2,7 +2,7 @@ name: DevDocs PR or Issue Creation Notifier on: issues: types: [opened] - pull_request: + pull_request_target: types: [opened] jobs: @@ -19,6 +19,9 @@ jobs: || context.payload.review?.body || ""; + const url = process.env.SLACK_WEBHOOK_URL; + console.log("Slack URL Length", url?.length); + await fetch(process.env.SLACK_WEBHOOK_URL, { method: "POST", headers: { "Content-Type": "application/json" },