Skip to content

Commit 527d3ab

Browse files
authored
Add error message for git-ref script mismatch
1 parent 855768b commit 527d3ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/scripts.tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ jobs:
7979
REF=$(git-ref)
8080
echo "Current ref: $REF" >> $GITHUB_STEP_SUMMARY
8181
if [[ "$REF" != "${{ github.head_ref }}" ]]; then
82+
echo "Output of git-ref script ($REF) does not match github.head_ref (${{ github.head_ref }})
8283
exit 1;
8384
fi

0 commit comments

Comments
 (0)