diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 5aa460b67..206d80277 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -51,7 +51,7 @@ jobs: with: status: ${{ job.status }} notify_when: failure - notification_title: "${{ github.event.commits[0].author.name }}, *nap time is over*! The following commit to <{repo_url}|{repo}> broke the end-to-end tests:" - message_format: "${{ github.event.commits[0].message }}" + notification_title: "${{ github.actor }}, *nap time is over*! The following commit to <{repo_url}|{repo}> broke the end-to-end tests:" + message_format: "${{ github.event.head_commit.message }}" env: SLACK_WEBHOOK_URL: ${{ secrets.BROKEN_E2E_SLACK_WEBHOOK_URL }}