From afc93e96ffa93aa02b3e432037b3f88d002f5eea Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 13 Nov 2019 09:30:53 -0800 Subject: 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. --- .github/workflows/macos.yml | 2 +- .github/workflows/mjit.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1f9872779a..f49e0dad9d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -68,7 +68,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ env.COMMIT_DATE }}-${{ env.COMMIT_NUMBER_OF_DAY }} " + + "text": "${{ job.status }}: ${{ matrix.os }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index 26533fa1b3..e4147ba2bf 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -67,7 +67,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ env.COMMIT_DATE }}-${{ env.COMMIT_NUMBER_OF_DAY }} " + + "text": "${{ job.status }}: MJIT / ${{ matrix.jit_opts }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" 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 }} " + + "text": "${{ job.status }}: ${{ matrix.os }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e2597df39c..a6afb26e7e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -82,7 +82,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ env.COMMIT_DATE }}-${{ env.COMMIT_NUMBER_OF_DAY }} " + + "text": "${{ job.status }}: ${{ matrix.os }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" -- cgit v1.2.1