Skip to content

Commit a40e3e3

Browse files
committed
fix: notify slack on master
1 parent 791555d commit a40e3e3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/dhis2-verify-lib.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,14 @@ jobs:
194194

195195
send-slack-message:
196196
runs-on: ubuntu-latest
197-
if: ${{ always() && github.ref == 'refs/heads/master' }}
197+
if: |
198+
always() &&
199+
github.ref == 'refs/heads/fix/action-slack'
198200
needs: [build, lint, test, e2e, publish]
199201
steps:
200202
- uses: rtCamp/action-slack-notify@v2
201203
env:
202-
SLACK_WEBHOOK: ${{ secrets.SLACK_BACKEND_WEBHOOK }}
204+
SLACK_WEBHOOK: ${{ secrets.SLACK_EXTENSIBILITY_WEBHOOK }}
203205
SLACK_CHANNEL: 'team-extensibility-notifications'
204206
SLACK_MESSAGE_ON_FAILURE: 'Master branch failed to build or publish the UI library.'
205207
SLACK_COLOR: ${{ job.status }}

0 commit comments

Comments
 (0)