From b0a220e7a29d9335ab91e0d75706b7cc415d6101 Mon Sep 17 00:00:00 2001 From: Djeex Date: Sun, 23 Aug 2026 23:20:51 +0200 Subject: [PATCH] Link each commit in the release changelog to its own commit page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit COMMIT_LIST only rendered the bare subject line per commit, with no way to jump to that specific commit — only the triggering commit (Source:) had a link. Each line now reads "- [](/commit/) ", matching the same link style already used for Source. --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b96a010..ddb37c5 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -155,9 +155,9 @@ jobs: fi fi - COMMIT_LIST=$(git log --no-merges --format='- %s' "$BASE_REF".."${{ github.sha }}") - REPO_URL="https://git.djeex.fr/Djeex/nvidia-stock-bot" + COMMIT_LIST=$(git log --no-merges --format="- [%h](${REPO_URL}/commit/%H) %s" "$BASE_REF".."${{ github.sha }}") + SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7) SOURCE_LINE="[${SHORT_SHA}](${REPO_URL}/commit/${{ github.sha }})" if [ -n "$PR_NUM" ]; then