@flowfuse/driver-kubernetes 2.32.0 → 2.32.1-232872b-202607101341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,3 +16,23 @@ jobs:
|
|
|
16
16
|
- uses: JS-DevTools/npm-publish@0fd2f4369c5d6bcfcde6091a7c527d810b9b5c3f # v4.1.5
|
|
17
17
|
with:
|
|
18
18
|
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
19
|
+
|
|
20
|
+
notify-slack:
|
|
21
|
+
name: Notify about release failure
|
|
22
|
+
needs: [publish]
|
|
23
|
+
if: failure()
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- name: Notify Slack
|
|
28
|
+
uses: FlowFuse/github-actions-workflows/actions/slack_notification@slack_notification/v1
|
|
29
|
+
with:
|
|
30
|
+
bot-token: ${{ secrets.SLACK_GHBOT_TOKEN }}
|
|
31
|
+
mode: channel
|
|
32
|
+
blocks: |
|
|
33
|
+
[
|
|
34
|
+
{ "type": "header", "text": { "type": "plain_text", "text": ":x: ${{ github.workflow }} workflow failed", "emoji": true } },
|
|
35
|
+
{ "type": "divider" },
|
|
36
|
+
{ "type": "section", "text": { "type": "mrkdwn", "text": "<${{ github.server_url }}/${{ github.repository }}/actions/workflows/release-publish.yml|${{ github.workflow }}> workflow failed to complete successfully." } },
|
|
37
|
+
{ "type": "section", "text": { "type": "mrkdwn", "text": "*Workflow run:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View>" } }
|
|
38
|
+
]
|