File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4949 cp "${NEW_STATS_FILE}" "${PREV_STATS_FILE}"
5050 fi
5151
52- ./.github/actions/pit-results-comment/stats-to-comment.sh "${PREV_STATS_FILE}" "${NEW_STATS_FILE}" "${{ inputs.prev-commit }}" > "${RESULTS_COMMENT_FILE}"
52+ ./.github/actions/pit-results-comment/stats-to-comment.sh "${PREV_STATS_FILE}" "${NEW_STATS_FILE}" "${{ inputs.prev-commit }}" "${{ github.sha }}" > "${RESULTS_COMMENT_FILE}"
5353
5454 curl -X POST \
5555 -H "Authorization: Bearer ${{ inputs.token }}" \
Original file line number Diff line number Diff line change 6363 " ${1} " " ${2} " --raw-output
6464
6565 if [[ -n " ${3} " ]]; then
66- cat << EOF
66+ if [[ -n " ${4} " ]]; then
67+ cat << EOF
6768
6869Previous run: ${3}
6970EOF
71+ else
72+ cat << EOF
73+
74+ Previous run: ${3} - [Diff](/${GITHUB_REPOSITORY} /compare/${3} ...${4} )
75+ EOF
76+ fi
7077
7178 cat << EOF
7279
You can’t perform that action at this time.
0 commit comments