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:
Iván Ovejero 2023-09-26 18:00:00 +02:00 committed by GitHub
parent db01164ce1
commit 251abe9240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'