From 08ca6e7450466a5c3ee8af6f4e53de8dd6fe5fce Mon Sep 17 00:00:00 2001 From: Liora Milbaum Date: Sun, 7 Apr 2024 15:10:21 +0300 Subject: [PATCH] Publish test-make-targets job results Signed-off-by: Liora Milbaum --- .github/workflows/testing-framework.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/testing-framework.yaml b/.github/workflows/testing-framework.yaml index 2677e6e0d..fdbee944a 100644 --- a/.github/workflows/testing-framework.yaml +++ b/.github/workflows/testing-framework.yaml @@ -109,3 +109,15 @@ jobs: - name: chatbot working-directory: ./recipes/natural_language_processing/chatbot run: make bootc + + - name: Publish Job Results to Slack + id: slack + if: always() + uses: slackapi/slack-github-action@v1.25.0 + with: + payload: | + { + "text": "${{ github.workflow }} workflow status: ${{ job.status }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}