This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new d8506f1a0f3 Notify scheduled run failures on slack for v3-0-test 
branch (#50996)
d8506f1a0f3 is described below

commit d8506f1a0f30f8702fa5960611c9af78d2f08131
Author: Amogh Desai <[email protected]>
AuthorDate: Sun May 25 11:45:53 2025 +0530

    Notify scheduled run failures on slack for v3-0-test branch (#50996)
---
 .github/workflows/ci-amd.yml | 6 ++----
 .github/workflows/ci-arm.yml | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci-amd.yml b/.github/workflows/ci-amd.yml
index 51e17063a8a..e67351d6410 100644
--- a/.github/workflows/ci-amd.yml
+++ b/.github/workflows/ci-amd.yml
@@ -829,8 +829,6 @@ jobs:
 
   notify-slack-failure:
     name: "Notify Slack on Failure"
-    needs:
-      - finalize-tests
     if: github.event_name == 'schedule' && failure() && github.run_attempt == 1
     runs-on: ["ubuntu-22.04"]
     steps:
@@ -843,12 +841,12 @@ jobs:
           # yamllint disable rule:line-length
           payload: |
             channel: "internal-airflow-ci-cd"
-            text: "🚨🕒 Scheduled CI Failure Alert (AMD) 🕒🚨\n\n*Details:* 
<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id 
}}|View the failure log>"
+            text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ 
github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository 
}}/actions/runs/${{ github.run_id }}|View the failure log>"
             blocks:
               - type: "section"
                 text:
                   type: "mrkdwn"
-                  text: "🚨🕒 Scheduled CI Failure Alert (AMD) 🕒🚨\n\n*Details:* 
<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id 
}}|View the failure log>"
+                  text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ 
github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository 
}}/actions/runs/${{ github.run_id }}|View the failure log>"
           # yamllint enable rule:line-length
 
   summarize-warnings:
diff --git a/.github/workflows/ci-arm.yml b/.github/workflows/ci-arm.yml
index 643d5364c60..c1b39b7d3df 100644
--- a/.github/workflows/ci-arm.yml
+++ b/.github/workflows/ci-arm.yml
@@ -549,8 +549,6 @@ jobs:
 
   notify-slack-failure:
     name: "Notify Slack on Failure"
-    needs:
-      - finalize-tests
     if: github.event_name == 'schedule' && failure() && github.run_attempt == 1
     runs-on: ["ubuntu-22.04"]
     steps:
@@ -563,10 +561,10 @@ jobs:
           # yamllint disable rule:line-length
           payload: |
             channel: "internal-airflow-ci-cd"
-            text: "🚨🕒 Scheduled CI Failure Alert (ARM) 🕒🚨\n\n*Details:* 
<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id 
}}|View the failure log>"
+            text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ 
github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository 
}}/actions/runs/${{ github.run_id }}|View the failure log>"
             blocks:
               - type: "section"
                 text:
                   type: "mrkdwn"
-                  text: "🚨🕒 Scheduled CI Failure Alert (ARM) 🕒🚨\n\n*Details:* 
<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id 
}}|View the failure log>"
+                  text: "🚨🕒 Scheduled CI Failure Alert (AMD) on branch *${{ 
github.ref_name }}* 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository 
}}/actions/runs/${{ github.run_id }}|View the failure log>"
           # yamllint enable rule:line-length

Reply via email to