Skip to content

Commit 6fc3c1f

Browse files
committed
Fix polarity of diff link if statement
1 parent 6b99375 commit 6fc3c1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/pit-results-comment/stats-to-comment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ EOF
6666
if [[ -n "${4}" ]]; then
6767
cat << EOF
6868
69-
Previous run: ${3}
69+
Previous run: ${3} - [Diff](/${GITHUB_REPOSITORY}/compare/${3}...${4})
7070
EOF
7171
else
7272
cat << EOF
7373
74-
Previous run: ${3} - [Diff](/${GITHUB_REPOSITORY}/compare/${3}...${4})
74+
Previous run: ${3}
7575
EOF
7676
fi
7777

0 commit comments

Comments
 (0)