Skip to content

Commit 05737fe

Browse files
committed
whoops
1 parent e499713 commit 05737fe

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/app-manager-release-notes.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ jobs:
5555
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
5656
5757
- name: Slack Notification
58-
uses: slackapi/slack-github-action@v2.1.0
58+
uses: slackapi/slack-github-action@v2.0.0
5959
with:
60-
webhook: ${{ secrets.EMBEDDED_CLUSTER_RELEASE_NOTES_SLACK_WEBHOOK }}
61-
webhook-type: incoming-webhook
60+
webhook: ${{ secrets.KOTS_RELEASE_NOTES_SLACK_WEBHOOK }}
61+
webhook-type: webhook-trigger
6262
payload: |
63-
{
64-
"text": "Embedded Cluster release notes for version *${{ github.event.inputs.version }}* are ready for review at: ${{ steps.cpr.outputs.pull-request-url }}"
65-
}
63+
version: "${{ github.event.client_payload.version }}"
64+
pull_request_url: "${{steps.cpr.outputs.pull-request-url}}"

.github/workflows/embedded-cluster-release-notes.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ jobs:
9191
webhook: ${{ secrets.EMBEDDED_CLUSTER_RELEASE_NOTES_SLACK_WEBHOOK }}
9292
webhook-type: incoming-webhook
9393
payload: |
94-
version: "test"
95-
pull_request_url: "${{steps.cpr.outputs.pull-request-url}}"
96-
errors: true
94+
{
95+
"text": "Embedded Cluster release notes for version *${{ github.event.inputs.version }}* are ready for review at: ${{ steps.cpr.outputs.pull-request-url }}"
96+
}

0 commit comments

Comments
 (0)