Skip to content

Commit 785373c

Browse files
committed
ci: add Slack notifications for release failures and community issues
1 parent f1bf9e2 commit 785373c

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Community & Dependabot Notifications
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request_target:
7+
types: [opened]
8+
9+
permissions: {}
10+
11+
jobs:
12+
notify:
13+
uses: camunda/sdk-infra/.github/workflows/sdk-slack-community-notify.yml@v1
14+
with:
15+
repo-name: camunda-8-js-sdk
16+
mention-group: ${{ vars.SLACK_MENTION_GROUP }}
17+
secrets:
18+
slack-webhook-url: ${{ secrets.SLACK_SDK_ALERTS }}

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,3 +374,23 @@ jobs:
374374
with:
375375
folder: docs
376376
branch: gh-pages
377+
378+
notify-release-failure:
379+
needs:
380+
- unit-tests
381+
- local_integration
382+
- local_multitenancy_integration
383+
- saas_integration
384+
- saas_integration_8_8
385+
- local_integration_8_8
386+
- local_integration_8_8_against_8_9
387+
- tag-and-publish
388+
if: ${{ always() && contains(needs.*.result, 'failure') }}
389+
permissions: {}
390+
uses: camunda/sdk-infra/.github/workflows/sdk-slack-notify.yml@v1
391+
with:
392+
repo-name: camunda-8-js-sdk
393+
workflow-name: Release
394+
mention-group: ${{ vars.SLACK_MENTION_GROUP }}
395+
secrets:
396+
slack-webhook-url: ${{ secrets.SLACK_SDK_ALERTS }}

0 commit comments

Comments
 (0)