Correct template in build/unit test fail messages to Discord

This commit is contained in:
Josh Stewart 2023-04-30 19:57:58 +10:00
parent 1e66cfc5a6
commit 8d99a9c971
2 changed files with 6 additions and 6 deletions

View File

@ -63,7 +63,7 @@ jobs:
avatarUrl: https://avatars.githubusercontent.com/u/9919?v=4&size=48
username: GitHub
description: 'Firmware build FAILED :warning:'
details: "***Author:** ${github.event.pusher.name} \n
**Commit URL:** ${{ github.event.head_commit.message }} \n
**Commit Message:** ${github.event.head_commit.message}"
details: "**Author:** ${{ github.event.pusher.name }} \n
**Commit URL:** ${{ github.event.head_commit.url }} \n
**Commit Message:** ${{ github.event.head_commit.message }}"
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}

View File

@ -53,7 +53,7 @@ jobs:
avatarUrl: https://avatars.githubusercontent.com/u/9919?v=4&size=48
username: GitHub
description: 'Unit Tests FAILED :warning:'
details: "***Author:** ${github.event.pusher.name} \n
**Commit URL:** ${{ github.event.head_commit.message }} \n
**Commit Message:** ${github.event.head_commit.message}"
details: "**Author:** ${{ github.event.pusher.name }} \n
**Commit URL:** ${{ github.event.head_commit.url }} \n
**Commit Message:** ${{ github.event.head_commit.message }}"
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}