From 8474e6ae1f327acb3e137c191078a522682cc946 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 10 Feb 2020 16:00:51 +0900 Subject: Use github.run_id in notification payload URL --- .github/workflows/macos.yml | 2 +- .github/workflows/mingw.yml | 2 +- .github/workflows/mjit.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 4a4b5a3717..a26475000d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -69,7 +69,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ github.workflow }} / ${{ matrix.test_task }} " + + "text": "${{ github.workflow }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index cea26a51c2..1596adef49 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -145,7 +145,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ github.workflow }} / ${{ matrix.test_task }} " + + "text": "${{ github.workflow }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index e7730506d2..d87f4fbba3 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -65,7 +65,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.jit_opts }} " + + "text": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.jit_opts }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 6bf3f291a6..a6dbf68c73 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -103,7 +103,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ matrix.os }} / ${{ matrix.test_task }} " + + "text": "${{ matrix.os }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 82cca9353b..3e466fd441 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -80,7 +80,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ matrix.os }} / ${{ matrix.test_task }} " + + "text": "${{ matrix.os }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed", "color": "danger" -- cgit v1.2.3