Add commit number of today to notification of mjit CI too
This commit is contained in:
parent
e7ea6e078f
commit
990728170c
Notes:
git
2019-11-13 20:19:08 +09:00
3
.github/workflows/mjit.yml
vendored
3
.github/workflows/mjit.yml
vendored
@ -35,6 +35,7 @@ jobs:
|
|||||||
GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}
|
GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||||
GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }}
|
GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
- run: ./src/tool/actions-commit-info.sh
|
||||||
- name: Fixed world writable dirs
|
- name: Fixed world writable dirs
|
||||||
run: |
|
run: |
|
||||||
chmod go-w $HOME
|
chmod go-w $HOME
|
||||||
@ -66,7 +67,7 @@ jobs:
|
|||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
"attachments": [{
|
"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) + ">) " +
|
"(<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 }}",
|
"of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}",
|
||||||
"color": "danger"
|
"color": "danger"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user