From 24cde1447d4fd240c4876331fc61aaf24ba740d7 Mon Sep 17 00:00:00 2001 From: litruv Date: Sun, 1 Nov 2026 09:29:39 +1100 Subject: [PATCH] Put the repo in the commit link. [skip build] --- scripts/ci-checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-checks.sh b/scripts/ci-checks.sh index a07b9aa4..e641d69e 100644 --- a/scripts/ci-checks.sh +++ b/scripts/ci-checks.sh @@ -81,7 +81,7 @@ jq -r '[((.body // "") | capture("").k), .number] while IFS=$'\t' read -r key number; do if ! grep -qF -- "$key"$'\t' "$FINDINGS"; then if [ -n "$SHA" ]; then - api POST "/issues/$number/comments" "$(jq -n --arg b "Fixed in [$(printf '%s' "$SHA" | cut -c1-7)]($BASE/commit/$SHA)." '{body: $b}')" > /dev/null + api POST "/issues/$number/comments" "$(jq -n --arg b "Fixed in [$(printf '%s' "$SHA" | cut -c1-7)]($BASE/$REPO/commit/$SHA)." '{body: $b}')" > /dev/null fi api PATCH "/issues/$number" '{"state": "closed"}' > /dev/null fi