diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e226ffd1..554b596e 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -210,14 +210,12 @@ jobs: text: "*Workflow*\n`${{ github.workflow }}`" - type: mrkdwn text: "*Job*\n`${{ github.job }}`" - - type: mrkdwn - text: "*Status*\n`${{ github.status }}`" - - type: mrkdwn - text: "*Pull request*\n<${{ github.event.pull_request.html_url }}|${{ github.event.pull_request.title }}>" - type: mrkdwn text: "*Commit*\n<${{ github.event.head_commit.url }}|${{ env.SHORT_SHA }}>" - type: mrkdwn text: "*Message*\n${{ github.event.head_commit.message }}" + - type: mrkdwn + text: "*Failure*\n`${{ failure() }}`" - name: Upload artifacts to Slack on failure if: failure() uses: slackapi/slack-github-action@v2.0.0