diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-02-10 16:00:51 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2020-02-10 16:49:16 +0900 |
commit | 8474e6ae1f327acb3e137c191078a522682cc946 (patch) | |
tree | 4de85a9334ed39b491cee0e0c36d84f682d2ce4b /.github/workflows/macos.yml | |
parent | 912ef0b5593a1e4edca3a0bad8164f66e05e6662 (diff) |
Use github.run_id in notification payload URL
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2898
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " + + "text": "${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.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 }} failed", "color": "danger" |