summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index b3b5c70526..1c82c576c5 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -65,12 +65,14 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
if: failure() && github.event_name == 'push'
- - uses: k0kubun/action-slack@v1.0.0
+ - uses: k0kubun/action-slack@v2.0.0
with:
payload: |
{
"attachments": [{
- "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 }}>)",
+ "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ github.workflow }} / ${{ matrix.test_task }}> " +
+ "(<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"
}]
}