From 88bbaac3fb98c92dab4bcd5852d9af3f1b8bfb2b Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 1 Nov 2023 14:23:43 -0400 Subject: [PATCH] GHA: test slack build failed message --- .../workflows/snapshot-eclipse-ls-extensions-build.yml | 6 +++--- .github/workflows/test-slack-message.yml | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml index b3c765b09..79e42f0d2 100644 --- a/.github/workflows/snapshot-eclipse-ls-extensions-build.yml +++ b/.github/workflows/snapshot-eclipse-ls-extensions-build.yml @@ -6,9 +6,9 @@ concurrency: on: workflow_dispatch: - push: - branches: - - 'main' +# push: +# branches: +# - 'main' jobs: eclipse-ls-extensions: diff --git a/.github/workflows/test-slack-message.yml b/.github/workflows/test-slack-message.yml index 4842fb8f1..b5bcc0f8a 100644 --- a/.github/workflows/test-slack-message.yml +++ b/.github/workflows/test-slack-message.yml @@ -27,3 +27,11 @@ jobs: } ] } + + notify-failure: + needs: [ slack-message ] + uses: ./.github/workflows/notify-failed-build.yml + with: + link: '[${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})' + label: 'Test Build Failed Message' + secrets: inherit