ci: Send Slack notifications when important builds fail (no-changelog) (#4638)

ci: Send Slack notifications when important builds fail
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2022-11-17 18:52:03 +01:00 committed by GitHub
parent 4ce24b310e
commit bb5ebdf6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

View file

@ -44,3 +44,11 @@ jobs:
env:
CI_LINT_MASTER: true
run: pnpm lint
- name: Notify Slack on failure
uses: act10ns/slack@v2.0.0
if: failure()
with:
status: ${{ job.status }}
channel: '#updates-build-alerts'
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}

View file

@ -47,3 +47,11 @@ jobs:
- name: Test Postgres (alternate schema)
working-directory: packages/cli
run: pnpm test:postgres:alt-schema
- name: Notify Slack on failure
uses: act10ns/slack@v2.0.0
if: failure()
with:
status: ${{ job.status }}
channel: '#updates-build-alerts'
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}

View file

@ -93,3 +93,11 @@ jobs:
# git config --global user.email 'n8n-test-bot@users.noreply.github.com'
# git commit -am "Automated credential update"
# git push --force --quiet "https://janober:${{ secrets.TOKEN }}@github.com/n8n-io/test-workflows.git" main:main
- name: Notify Slack on failure
uses: act10ns/slack@v2.0.0
if: failure()
with:
status: ${{ job.status }}
channel: '#updates-build-alerts'
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}