ruby-changes:58470
From: Kazuhiro <ko1@a...>
Date: Mon, 28 Oct 2019 16:53:23 +0900 (JST)
Subject: [ruby-changes:58470] 3e83f1f00a (master): Add more matrix info to slack payload
https://git.ruby-lang.org/ruby.git/commit/?id=3e83f1f00a From 3e83f1f00ae89f3391ceed8ea6192cc23257536e Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 28 Oct 2019 15:34:42 +0900 Subject: Add more matrix info to slack payload diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0a6f0a4..f9e5b97 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -92,7 +92,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L92 payload: | { "attachments": [{ - "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ github.workflow }} / ${{ matrix.test_task }}> " + + "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ matrix.os }} / ${{ 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" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bb1c290..6dee27e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -61,7 +61,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L61 payload: | { "attachments": [{ - "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ github.workflow }} / ${{ matrix.test_task }}> " + + "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ matrix.os }} (vs${{ matrix.vs }}) / ${{ 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" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/