From e171b316e59b3f832840bebb491d55d58adda79e Mon Sep 17 00:00:00 2001 From: Madraka <8898640+Madraka@users.noreply.github.com> Date: Thu, 22 Oct 2026 18:53:33 +0300 Subject: [PATCH] fix(theme): entry links follow collection permalinks; auto-merge waits for checks - `EntryList` calls `entryPath(media?.permalinks, e)` and the page passes `permalinks: site` (and `site` to `loadComments`), as the starter does since Cloudhal 0.3.11. The old one-argument call works again in 0.3.13 but ignores collection permalinks. - `cloudhal-update.yml` merges with `--auto`: the merge ran before the required Workers Builds check had finished and was refused (#18). Co-Authored-By: Claude Opus 5.5 Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com> --- .github/workflows/cloudhal-update.yml | 2 +- src/components/EntryList.astro | 2 +- src/pages/[...path].astro | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cloudhal-update.yml b/.github/workflows/cloudhal-update.yml index 3984dda..bd756b8 100644 --- a/.github/workflows/cloudhal-update.yml +++ b/.github/workflows/cloudhal-update.yml @@ -42,7 +42,7 @@ jobs: uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 - name: Merge a patch release if: steps.meta.outputs.update-type == 'version-update:semver-patch' - run: gh pr merge "$PR" --merge --repo "$GITHUB_REPOSITORY" + run: gh pr merge "$PR" --auto --merge --repo "$GITHUB_REPOSITORY" env: PR: ${{ github.event.pull_request.html_url }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/components/EntryList.astro b/src/components/EntryList.astro index fde201e..702fa45 100644 --- a/src/components/EntryList.astro +++ b/src/components/EntryList.astro @@ -41,7 +41,7 @@ const cover = (e: ContentEntry) => { )}
- {e.title} + {e.title} {e.summary &&

{e.summary}

}