From bad552d6bb802dee0bef8531514e0671faf7e7c2 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Fri, 18 Oct 2024 14:08:56 +0530 Subject: [PATCH] updated the status field --- .github/actions/notify-slack/action.yml | 2 +- .github/workflows/publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/notify-slack/action.yml b/.github/actions/notify-slack/action.yml index 37145ba5..5de716c5 100644 --- a/.github/actions/notify-slack/action.yml +++ b/.github/actions/notify-slack/action.yml @@ -53,7 +53,7 @@ runs: "elements": [ { "type": "text", - "text": "${{inputs.heading_text}}", + "text": "${{inputs.heading_text}} ", "style": { "bold": true } diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9eadc433..6cc8069a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,7 +54,7 @@ jobs: with: heading_text: "Publish job has succeeded !" alert_type: "thumbsup" - job_status: ${{job.status}} + job_status: "Success" XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}} job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" button_type: "primary" @@ -75,7 +75,7 @@ jobs: with: heading_text: "Publish job has failed !" alert_type: "alert" - job_status: ${{job.status}} + job_status: "Failed" XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}} job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" button_type: "danger"