Add commit message and committer to acceptance tests slack alert (#946)

* Add commit message and committer username to slack alerts
* Use name instead of username
* Use name and email
This commit is contained in:
Nimrod Gilboa Markevich 2022-03-29 09:15:42 +03:00 committed by GitHub
parent 590fa08c81
commit 1f6e539590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ jobs:
with:
status: ${{ job.status }}
notification_title: 'Mizu {workflow} has {status_message}'
message_format: '{emoji} *{workflow}* {status_message} during <{run_url}|run>, after commit: <{commit_url}|{commit_sha}>'
message_format: '{emoji} *{workflow}* {status_message} during <{run_url}|run>, after commit <{commit_url}|{commit_sha} ${{ github.event.head_commit.message }}> ${{ github.event.head_commit.committer.name }} <${{ github.event.head_commit.committer.email }}>'
footer: 'Linked Repo <{repo_url}|{repo}>'
notify_when: 'failure'
env: