πͺ’ Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
ci(notifications): stop sending redundant title, branch, and event to Slack (#18652)
Nimar0b6d4e68e9a6
diff --git a/.github/actions/notify-slack-failure/action.yml b/.github/actions/notify-slack-failure/action.ymlindex e7fcc54cae..4eb0d9b0b6 100644--- a/.github/actions/notify-slack-failure/action.yml+++ b/.github/actions/notify-slack-failure/action.yml@@ -2,11 +2,8 @@ name: Notify Slack Failuredescription: Send a CI failure notification to a Slack Workflow webhook.inputs:- title:- description: Slack notification header.- required: truemessage:- description: Slack notification fallback text.+ description: Slack notification headline, e.g. "β CI failed on main".required: truewebhook-url:description: Slack Workflow webhook URL.@@ -136,12 +133,12 @@ runs:with:webhook: ${{ inputs.webhook-url }}webhook-type: webhook-trigger+ # Each key must match a variable on the Slack Workflow Builder webhook+ # trigger. Slack rejects requests that omit a declared variable, so+ # remove a variable in Slack before removing its key here.payload: |- title: "${{ inputs.title }}"message: "${{ inputs.message }}"- ref: "${{ github.ref_name }}"actor: "${{ github.actor }}"- event: "${{ github.event_name }}"commit: "${{ github.sha }}"workflow_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"failure_reason: ${{ toJSON(steps.failure-reason.outputs.reason) }}diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex 0409aa82a4..5656619195 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -141,6 +141,5 @@ jobs:- name: Notify Slackuses: ./.github/actions/notify-slack-failurewith:- title: "β Deploy Failed"message: "β Deploy failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}diff --git a/.github/workflows/model-price-audit.yml b/.github/workflows/model-price-audit.ymlindex b1a9bc05ec..bc5c2c646f 100644--- a/.github/workflows/model-price-audit.yml+++ b/.github/workflows/model-price-audit.yml@@ -732,6 +732,5 @@ jobs:- name: Notify Slackuses: ./.github/actions/notify-slack-failurewith:- title: "β Model Price Audit Failed"message: "β Model price audit failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 23db39b61e..9cd169438b 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -1649,7 +1649,6 @@ jobs:if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v3' || startsWith(github.ref, 'refs/tags/'))uses: ./.github/actions/notify-slack-failurewith:- title: "β CI Failed"message: "β CI failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}- name: Output job results@@ -1997,6 +1996,5 @@ jobs:if: failure()uses: ./.github/actions/notify-slack-failurewith:- title: "β Docker Release Failed"message: "β Docker release failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 7bd8f93985..d07316b4f7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -53,6 +53,5 @@ jobs:- name: Notify Slackuses: ./.github/actions/notify-slack-failurewith:- title: "β Release Failed"message: "β Release failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.ymlindex 0269fc6681..7cdc443d15 100644--- a/.github/workflows/sdk-api-spec.yml+++ b/.github/workflows/sdk-api-spec.yml@@ -320,6 +320,5 @@ jobs:- name: Notify Slackuses: ./.github/actions/notify-slack-failurewith:- title: "β SDK API Spec Generation Failed"message: "β SDK API spec generation failed on ${{ github.ref_name }}"webhook-url: ${{ secrets.SLACK_CI_FAILURE_WORKFLOW_WEBHOOK_URL }}