diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 21:26:39 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 21:26:40 -0800 |
commit | eca964c24e94ceb9146bcf4c010d9abfc632637a (patch) | |
tree | cfb788ce19cf31f016de09fcadbbf092a13acf7e /.github/workflows/macos.yml | |
parent | ab9f56b61575617fa2c565543b7ce2afffd1c528 (diff) | |
download | ruby-eca964c24e94ceb9146bcf4c010d9abfc632637a.tar.gz |
More consistent failure notifications
The format is the same as Travis / AppVeyor now.
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c3af98ad18..87d7a802d7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -72,9 +72,9 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " + + "text": "${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " + "(<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|" + "${{ github.sha }}".substring(0, 10) + ">) " + - "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" }] } |