diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 21:26:39 -0800 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-01-30 13:34:25 +0900 |
commit | fdd9d7cd41cde130889d84414395da22706972c8 (patch) | |
tree | 8b8d8d78899f783f482dc422e950e65d4d4ab4dc /.github/workflows/mjit.yml | |
parent | 531bbec111d588ad497dd528eae3ac36e2af2632 (diff) |
More consistent failure notifications
The format is the same as Travis / AppVeyor now.
Diffstat (limited to '.github/workflows/mjit.yml')
-rw-r--r-- | .github/workflows/mjit.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index cdb41701de..7d6cc10b69 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -69,9 +69,9 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.jit_opts }} <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 }} ${{ matrix.jit_opts }} <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" }] } |