mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
ci: Send Slack notifications when important builds fail (no-changelog) (#4638)
ci: Send Slack notifications when important builds fail
This commit is contained in:
parent
4ce24b310e
commit
bb5ebdf6c9
8
.github/workflows/ci-master.yml
vendored
8
.github/workflows/ci-master.yml
vendored
|
@ -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 }}
|
||||
|
|
8
.github/workflows/ci-postgres-mysql.yml
vendored
8
.github/workflows/ci-postgres-mysql.yml
vendored
|
@ -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 }}
|
||||
|
|
8
.github/workflows/test-workflows.yml
vendored
8
.github/workflows/test-workflows.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue