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"