Skip to content

Commit

Permalink
Make it visible what's failed
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Apr 22, 2024
1 parent 9b592f9 commit 140a854
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
slack-webhook-url: unused
dry-run: true
- run: |
[[ "$SLACK_COLOR" == 'success' ]]
[[ "$SLACK_TITLE" == 'CI test succeeded' ]]
[[ "${{ env.SLACK_COLOR }}" == 'success' ]]
[[ "${{ env.SLACK_TITLE }}" == 'CI test succeeded' ]]
message_re='^.* committed <.*\|.*> .* (.*)$'
[[ "$SLACK_MESSAGE" == $message_re ]]
[[ "${{ env.SLACK_MESSAGE }}" == $message_re ]]
job_url_re='^https://github\.com/freckle/slack-notify-action/actions/runs/.*/job/.*$'
[[ "$SLACK_FOOTER" =~ $footer_re ]]
[[ "${{ env.SLACK_FOOTER }}" =~ $footer_re ]]

0 comments on commit 140a854

Please sign in to comment.