update failure message to include branch

This commit is contained in:
burnettk 2023-05-02 12:12:39 -04:00
parent e50a8307b0
commit beb1c8bf47
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@ jobs:
if: ${{ github.event.workflow_run.conclusion != 'success' && github.event.workflow_run.conclusion != 'skipped' }}
run: |
curl -X POST -H 'Content-type: application/json' \
--data '{"text":"spiff-arena workflow <${{ github.event.workflow_run.html_url }}|${{ github.event.workflow.name }}> ended with conclusion ${{github.event.workflow_run.conclusion}}!"}' \
--data '{"text":"spiff-arena <${{ github.event.workflow_run.html_url }}|${{ github.event.workflow.name }}>: ${{github.event.workflow_run.conclusion}} - branch ${{github.event.workflow_run.head_branch}}"}' \
${{ secrets.SLACK_WEBHOOK_URL }}