Skip to content

Commit cb86299

Browse files
Merge pull request #71 from mongodb/antoniomorello-DB-patch-2
Investigate URL parse issue devdocs-notify.yml
2 parents 45f741a + e57e4ec commit cb86299

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/devdocs-notify.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: DevDocs PR or Issue Creation Notifier
22
on:
33
issues:
44
types: [opened]
5-
pull_request:
5+
pull_request_target:
66
types: [opened]
77

88
jobs:
@@ -19,6 +19,9 @@ jobs:
1919
|| context.payload.review?.body
2020
|| "";
2121
22+
const url = process.env.SLACK_WEBHOOK_URL;
23+
console.log("Slack URL Length", url?.length);
24+
2225
await fetch(process.env.SLACK_WEBHOOK_URL, {
2326
method: "POST",
2427
headers: { "Content-Type": "application/json" },

0 commit comments

Comments
 (0)