Skip to content

Commit 84ed2f8

Browse files
committed
Update tests.yml
1 parent 992f98b commit 84ed2f8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ jobs:
7272
severity: error
7373
username: Github Actions
7474
color: "#D01124"
75-
description: Tests are currently failing.
76-
details: |
77-
78-
Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}
79-
footer: ${GITHUB_SHA::8}
75+
description: "Tests are currently failing on PHP ${{ matrix.php }}."
76+
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
77+
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
8078
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
8179
- name: notify discord
8280
if: ${{ success() }}
@@ -85,9 +83,7 @@ jobs:
8583
severity: info
8684
username: Github Actions
8785
color: "#0F8513"
88-
description: Tests passed.
89-
details: |
90-
91-
Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}
92-
footer: ${GITHUB_SHA::8}
86+
description: Tests passing
87+
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
88+
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
9389
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)