diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-11-13 09:30:53 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-11-13 09:31:03 -0800 |
commit | afc93e96ffa93aa02b3e432037b3f88d002f5eea (patch) | |
tree | db2c8b5c909cf9d2ad00f2996bbe9bb4f14a7a51 /.github/workflows/ubuntu.yml | |
parent | a102bcab418dc61ccfe6a49870393c42305d2895 (diff) | |
download | ruby-afc93e96ffa93aa02b3e432037b3f88d002f5eea.tar.gz |
Make GitHub Actions notification more like Travis
Build's sequential number is a link in Travis, and also YYYY-MM-DD-XX is
a little hard to parse.
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r-- | .github/workflows/ubuntu.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index e8198843ff..8e4eef828e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -97,7 +97,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ env.COMMIT_DATE }}-${{ env.COMMIT_NUMBER_OF_DAY }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ matrix.os }} / ${{ matrix.test_task }}> " + + "text": "${{ job.status }}: ${{ matrix.os }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ env.COMMIT_DATE }} #${{ env.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 }}", "color": "danger" |