mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00: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:
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
|
working-directory: packages/cli
|
||||||
run: DB_POSTGRESDB_SCHEMA=alt_schema DB_TABLE_PREFIX=test_ pnpm test:postgres
|
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
|
uses: act10ns/slack@v2.0.0
|
||||||
if: failure()
|
if: failure() && github.ref == 'refs/heads/master'
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
channel: '#updates-build-alerts'
|
channel: '#updates-build-alerts'
|
||||||
|
|||||||
Reference in New Issue
Block a user