Skip to content

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

build: add always() condition to run notifications on failure (#8265)

Steffen Schmitzf071be69b66a
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 0da972261b..a4603a24a8 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -492,7 +492,7 @@ jobs:
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/'))
+ if: always() && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
with:
status: ${{ job.status }}
notify_when: "failure"