From 49f36f9b9e7da45f83dd8d506e9ea04353b05dd1 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Tue, 24 Jun 2025 12:00:29 +0200 Subject: [PATCH 1/2] Fix Slack notification condition Expression syntax fix. --- .github/workflows/matirx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matirx.yml b/.github/workflows/matirx.yml index 45e4bc6134243..e4d8bd75b7d19 100644 --- a/.github/workflows/matirx.yml +++ b/.github/workflows/matirx.yml @@ -41,7 +41,7 @@ jobs: secrets: inherit slack-notification: - if: ${{ failure() }} && github.event_name == 'push' + if: failure() && github.event_name == 'push' needs: [ main, arm ] name: Slack Notification runs-on: ubuntu-24.04 From fcbb2b90c55b5d34620669e25f40c7d09e67e395 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Tue, 24 Jun 2025 12:16:33 +0200 Subject: [PATCH 2/2] Fix brach name in slack notification Use proper variable to get branch name. --- .github/workflows/matirx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matirx.yml b/.github/workflows/matirx.yml index e4d8bd75b7d19..d67d97aad962e 100644 --- a/.github/workflows/matirx.yml +++ b/.github/workflows/matirx.yml @@ -56,7 +56,7 @@ jobs: - type: "section" text: type: "mrkdwn" - text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.head_ref }}*\n + text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.ref_name }}*\n Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n \n <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"