Add commit number of today to notification of mjit CI too

This commit is contained in:
Kazuhiro NISHIYAMA 2019-11-13 19:49:07 +09:00 коммит произвёл Kazuhiro NISHIYAMA
Родитель e7ea6e078f
Коммит 990728170c
1 изменённых файлов: 2 добавлений и 1 удалений

3
.github/workflows/mjit.yml поставляемый
Просмотреть файл

@ -35,6 +35,7 @@ jobs:
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:
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"