diff options
author | aycabta <aycabta@gmail.com> | 2019-08-22 07:57:06 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-08-22 07:57:12 +0900 |
commit | a1d606c079f6c3d1779d885e0bf2e3991251609e (patch) | |
tree | 5b7f3eddb42d5c6c79eb41437d6bd6e282599e46 /.github/workflows | |
parent | 1940347fdfe44a515a4d4ba31f068a245570b70d (diff) | |
download | ruby-a1d606c079f6c3d1779d885e0bf2e3991251609e.tar.gz |
Show short message to Slack
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/macos.yml | 5 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 5 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 13d0c7de99..a3402c12fc 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -62,10 +62,7 @@ jobs: payload: | { "attachments": [{ - "title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}", - "title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks", - "text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>", - "fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }], + "text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)", "footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}", "color": "danger" }] diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index cde821567e..4bd82e0eb6 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -70,10 +70,7 @@ jobs: payload: | { "attachments": [{ - "title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}", - "title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks", - "text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>", - "fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }], + "text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)", "footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}", "color": "danger" }] diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 256d53f7f0..fbf6dfd4bd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -59,10 +59,7 @@ jobs: payload: | { "attachments": [{ - "title": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}", - "title_link": "https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks", - "text": "${{ github.repository }}@${{ github.ref }}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>", - "fields": [{ "value": ${{ toJson(github.event.head_commit.message) }}, "short": false }], + "text": "<https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }}> (<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>)", "footer": "${{ github.event.head_commit.committer.name }} at ${{ github.event.head_commit.timestamp }}", "color": "danger" }] |