mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
ci: Adjust Postgres/MySQL failure notification (no-changelog) (#7262)
Prevent DB test runs on PRs from spamming the build alerts channel. Ref: https://github.com/n8n-io/n8n/actions/runs/6298825743
This commit is contained in:
parent
db01164ce1
commit
251abe9240
4
.github/workflows/ci-postgres-mysql.yml
vendored
4
.github/workflows/ci-postgres-mysql.yml
vendored
|
@ -47,9 +47,9 @@ jobs:
|
|||
working-directory: packages/cli
|
||||
run: DB_POSTGRESDB_SCHEMA=alt_schema DB_TABLE_PREFIX=test_ pnpm test:postgres
|
||||
|
||||
- name: Notify Slack on failure
|
||||
- name: Notify Slack on master failure
|
||||
uses: act10ns/slack@v2.0.0
|
||||
if: failure()
|
||||
if: failure() && github.ref == 'refs/heads/master'
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
channel: '#updates-build-alerts'
|
||||
|
|
Loading…
Reference in a new issue