Skip to content

Commit 7aa426e

Browse files
Revert "remove slack messaging logic for testing purpose"
This reverts commit 8d7da33.
1 parent dec6fc1 commit 7aa426e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/release-make-it-native.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,26 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
PAT: ${{ secrets.MENDIX_MOBILE_DOCS_PR_GITHUB_PAT }}
3737
run: node scripts/release-make-it-native.mjs
38+
39+
- name: Send success message
40+
if: success()
41+
uses: ./.github/actions/slack-notification
42+
with:
43+
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
44+
message: |
45+
✅ *Make It Native automation succeeded!*
46+
PRs created in:
47+
• *make-it-native*
48+
• *mendix/docs*
49+
Please review and merge. 🙌
50+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
51+
52+
- name: Send failure message
53+
if: failure()
54+
uses: ./.github/actions/slack-notification
55+
with:
56+
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
57+
message: |
58+
❌ *Make It Native automation failed!*
59+
Please check the workflow logs for more details. 🛠
60+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)