diff options
Diffstat (limited to '.github/workflows/mjit.yml')
-rw-r--r-- | .github/workflows/mjit.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index 73b242be19..067140e61d 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -36,6 +36,7 @@ jobs: GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }} if: github.event_name == 'pull_request' - run: ./src/tool/actions-commit-info.sh + id: commit_info - name: Fixed world writable dirs run: | chmod go-w $HOME @@ -67,7 +68,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.jit_opts }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ env.COMMIT_DATE }} #${{ env.COMMIT_NUMBER_OF_DAY }}> " + + "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.jit_opts }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ 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 }}", "color": "danger" |