Skip to content

Commit

Permalink
fix(slack): flip failure message (#161)
Browse files Browse the repository at this point in the history
* fix(slack): flip failure message

* chore: display text
  • Loading branch information
adamdehaven authored Sep 27, 2024
1 parent 33942dd commit 4cf2875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slack-actions/workflow-notification/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ inputs.status == 'failure' && inputs.status-message || inputs.failure-message }}"
"text": "${{ inputs.status == 'failure' && inputs.failure-message || inputs.status-message }}"
}
},
{
Expand All @@ -75,7 +75,7 @@ runs:
},
{
"type": "mrkdwn",
"text": "*Workflow Run Number:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_number }}>"
"text": "*Workflow Run:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_number }}>"
},
{
"type": "mrkdwn",
Expand Down

0 comments on commit 4cf2875

Please sign in to comment.