diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 10156f8db0..3b0e6d3ea6 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -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 }} diff --git a/.github/workflows/ci-postgres-mysql.yml b/.github/workflows/ci-postgres-mysql.yml index ff61f2c422..17e269ac65 100644 --- a/.github/workflows/ci-postgres-mysql.yml +++ b/.github/workflows/ci-postgres-mysql.yml @@ -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 }} diff --git a/.github/workflows/test-workflows.yml b/.github/workflows/test-workflows.yml index a4782a039e..2e95cdaccd 100644 --- a/.github/workflows/test-workflows.yml +++ b/.github/workflows/test-workflows.yml @@ -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 }}