From 84ed2f866835c442e8e2f5bf556f5a7c3f194f63 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 31 Oct 2020 12:34:54 -0700 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 111f0bea4..87ea7b109 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -72,11 +72,9 @@ jobs: severity: error username: Github Actions color: "#D01124" - description: Tests are currently failing. - details: | - - Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID} - footer: ${GITHUB_SHA::8} + description: "Tests are currently failing on PHP ${{ matrix.php }}." + details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}" + footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})" webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} - name: notify discord if: ${{ success() }} @@ -85,9 +83,7 @@ jobs: severity: info username: Github Actions color: "#0F8513" - description: Tests passed. - details: | - - Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID} - footer: ${GITHUB_SHA::8} + description: Tests passing + details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}" + footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})" webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}