ruby-changes:58780
From: Kazuhiro <ko1@a...>
Date: Wed, 13 Nov 2019 20:19:05 +0900 (JST)
Subject: [ruby-changes:58780] 990728170c (master): Add commit number of today to notification of mjit CI too
https://git.ruby-lang.org/ruby.git/commit/?id=990728170c From 990728170c5e4d6b763fa42c48ce82473d753aad Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Wed, 13 Nov 2019 19:49:07 +0900 Subject: Add commit number of today to notification of mjit CI too diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index 3e648fa..898ea56 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -35,6 +35,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mjit.yml#L35 GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }} GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }} if: github.event_name == 'pull_request' + - run: ./src/tool/actions-commit-info.sh - name: Fixed world writable dirs run: | chmod go-w $HOME @@ -66,7 +67,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mjit.yml#L67 payload: | { "attachments": [{ - "text": "${{ job.status}}: <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|MJIT / ${{ matrix.jit_opts }}> " + + "text": "${{ job.status }}: ${{ env.COMMIT_DATE }}-${{ env.COMMIT_NUMBER_OF_DAY }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|MJIT / ${{ matrix.jit_opts }}> " + "(<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/