github-ci: fix link to whitespace error
commitecaacbc7a278549f31d6f77d729c49fa60eec734
authorJustin Tobler <jltobler@gmail.com>
Fri, 3 May 2024 17:21:04 +0000 (3 12:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 May 2024 19:11:49 +0000 (3 12:11 -0700)
tree7b143f7a85e1dd5213ee024d60d6b30265e212ed
parent7789ea584232770210f169505b27eb1381b9c3b0
github-ci: fix link to whitespace error

When the `check-whitespace` CI job detects whitespace errors, a
formatted summary of the issue is generated. This summary contains links
to the commits and blobs responsible for the whitespace errors. The
generated links for blobs do not work and result in a 404.

Instead of using the reference name in the link, use the commit ID
directly. This fixes the broken link and also helps enable future
generalization of the script for other CI providers by removing one of
the GitHub specific CI variables used.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/check-whitespace.yml