Update tests.yml
This commit is contained in:
parent
992f98b6c1
commit
84ed2f8668
1 changed files with 6 additions and 10 deletions
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
|
@ -72,11 +72,9 @@ jobs:
|
||||||
severity: error
|
severity: error
|
||||||
username: Github Actions
|
username: Github Actions
|
||||||
color: "#D01124"
|
color: "#D01124"
|
||||||
description: Tests are currently failing.
|
description: "Tests are currently failing on PHP ${{ matrix.php }}."
|
||||||
details: |
|
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
|
||||||
|
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
|
||||||
Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}
|
|
||||||
footer: ${GITHUB_SHA::8}
|
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
- name: notify discord
|
- name: notify discord
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
|
@ -85,9 +83,7 @@ jobs:
|
||||||
severity: info
|
severity: info
|
||||||
username: Github Actions
|
username: Github Actions
|
||||||
color: "#0F8513"
|
color: "#0F8513"
|
||||||
description: Tests passed.
|
description: Tests passing
|
||||||
details: |
|
details: "https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}"
|
||||||
|
footer: "PHP ${{ matrix.php}} (${{ env.GITHUB_SHA }})"
|
||||||
Run: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}
|
|
||||||
footer: ${GITHUB_SHA::8}
|
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|
Loading…
Reference in a new issue