mirror of
https://github.com/git/git.git
synced 2024-06-01 20:36:33 +02:00
github-ci: fix broken link
This commit is contained in:
parent
f37b731ebb
commit
b7671f5aff
|
@ -52,12 +52,13 @@ jobs:
|
|||
problems+=("1) --- ${commitTextmd}")
|
||||
echo ""
|
||||
echo "--- ${commitText}"
|
||||
currentCommit=$commit
|
||||
commit=
|
||||
fi
|
||||
case "${dash}" in
|
||||
*:[1-9]*:) # contains file and line number information
|
||||
dashend=${dash#*:}
|
||||
problems+=("[${dash}](https://github.com/${{ github.repository }}/blob/${{github.event.pull_request.head.ref}}/${dash%%:*}#L${dashend%:}) ${sha} ${etc}")
|
||||
problems+=("[${dash}](https://github.com/${{ github.repository }}/blob/${currentCommit}/${dash%%:*}#L${dashend%:}) ${sha} ${etc}")
|
||||
;;
|
||||
*)
|
||||
problems+=("\`${dash} ${sha} ${etc}\`")
|
||||
|
|
Loading…
Reference in New Issue