Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

build: setup slack alerts on failing CI (#8255)

Steffen Schmitz6f0a43ec65ae
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 8d0cc2242d..0da972261b 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -490,6 +490,14 @@ jobs:
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
run: exit 1
working-directory: .
+ - name: Notify Slack
+ uses: ravsamhq/notify-slack-action@v2
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
+ with:
+ status: ${{ job.status }}
+ notify_when: "failure"
+ env:
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
push-docker-image:
needs: all-ci-passed