Skip to content

Commit 6a4f2b4

Browse files
fix: Slack notifications webhook (#801)
* Update notifications.yml * Add dummy commit to re-run github workflows --------- Co-authored-by: Reecha Khanal <reechak@amazon.com>
1 parent 894716a commit 6a4f2b4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/notifications.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ jobs:
5858
with:
5959
payload: |
6060
{
61-
"Notification Type": "Pull Request",
62-
"Notification URL":"${{ github.event.pull_request.html_url }}",
63-
"GitHub Repo": "${{ github.repository }}",
64-
"Notification Title": "${{ steps.sanitize-title.outputs.safe-title }}"
61+
"Notification_Type": "Pull Request",
62+
"Notification_URL":"${{ github.event.pull_request.html_url }}",
63+
"GitHub_Repo": "${{ github.repository }}",
64+
"Notification_Title": "${{ steps.sanitize-title.outputs.safe-title }}"
6565
}
6666
env:
6767
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -72,10 +72,10 @@ jobs:
7272
with:
7373
payload: |
7474
{
75-
"Notification Type": "Issue",
76-
"Notification URL":"${{ github.event.issue.html_url }}",
77-
"GitHub Repo": "${{ github.repository }}",
78-
"Notification Title": "${{ steps.sanitize-title.outputs.safe-title }}"
75+
"Notification_Type": "Issue",
76+
"Notification_URL":"${{ github.event.issue.html_url }}",
77+
"GitHub_Repo": "${{ github.repository }}",
78+
"Notification_Title": "${{ steps.sanitize-title.outputs.safe-title }}"
7979
}
8080
env:
8181
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -86,10 +86,10 @@ jobs:
8686
with:
8787
payload: |
8888
{
89-
"Notification Type": "Issue comment",
90-
"Notification URL":"${{ github.event.comment.html_url }}",
91-
"GitHub Repo": "${{ github.repository }}",
92-
"Notification Title": "${{ steps.sanitize-title.outputs.safe-title }}"
89+
"Notification_Type": "Issue comment",
90+
"Notification_URL":"${{ github.event.comment.html_url }}",
91+
"GitHub_Repo": "${{ github.repository }}",
92+
"Notification_Title": "${{ steps.sanitize-title.outputs.safe-title }}"
9393
}
9494
env:
95-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
95+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)