From e17c2954d3ba8dad49b03456dfffe87bbf49b5bb Mon Sep 17 00:00:00 2001 From: Tobias Burgherr Date: Sun, 20 Sep 2026 22:52:52 +0200 Subject: [PATCH 1/3] ci: build release notes from CHANGELOG.md via just changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace git-cliff regeneration (which collapsed the curated 0.2.0 section to one-line PR titles and included sections for every previous version) with the just changelog task — the same pattern used in immichporter, db-backup-runner, imgora, and the wodore repos. The section header goes to stderr, so only the body is captured. --- .github/workflows/release.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8eebd27..c6c3d3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,16 +26,19 @@ jobs: echo "name=${{ github.event.client_payload.tag }}" >> $GITHUB_OUTPUT fi - - name: Install git-cliff - run: uv tool install git-cliff + - name: Install just + uses: extractions/setup-just@v3 - - name: Generate changelog + - name: Get changelog for this version id: changelog - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - TAG="${{ steps.tag.outputs.name }}" - BODY=$(git-cliff --tag "$TAG" --strip all) + # Extract the curated section for the current version from + # CHANGELOG.md (same task as `just changelog` locally — manual + # edits are the source of truth; the section header goes to + # stderr, only the body is captured). + BODY=$(just changelog) + echo "Changelog body:" + echo "$BODY" { echo "body< Date: Sun, 20 Sep 2026 22:52:53 +0200 Subject: [PATCH 2/3] style: apply ruff-format to example settings --- examples/unfold_django_q2/settings.py | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/examples/unfold_django_q2/settings.py b/examples/unfold_django_q2/settings.py index fae7d27..445d104 100644 --- a/examples/unfold_django_q2/settings.py +++ b/examples/unfold_django_q2/settings.py @@ -117,8 +117,10 @@ # Exact match: Unfold's default active detection is # substring-based, which would also light up this # entry on the pinned group views below. - "active": lambda request: request.path - == reverse("admin:django_admin_runner_registeredcommand_changelist"), + "active": lambda request: ( + request.path + == reverse("admin:django_admin_runner_registeredcommand_changelist") + ), "permission": lambda request: request.user.is_staff, }, { @@ -130,10 +132,12 @@ "admin:django_admin_runner_registeredcommand_group", args=["Maintenance"], ), - "active": lambda request: request.path - == reverse( - "admin:django_admin_runner_registeredcommand_group", - args=["Maintenance"], + "active": lambda request: ( + request.path + == reverse( + "admin:django_admin_runner_registeredcommand_group", + args=["Maintenance"], + ) ), "permission": lambda request: request.user.is_staff, }, @@ -145,10 +149,12 @@ "admin:django_admin_runner_registeredcommand_group", args=["Import+Export"], ), - "active": lambda request: request.path - == reverse( - "admin:django_admin_runner_registeredcommand_group", - args=["Import+Export"], + "active": lambda request: ( + request.path + == reverse( + "admin:django_admin_runner_registeredcommand_group", + args=["Import+Export"], + ) ), "permission": lambda request: request.user.is_staff, }, From 6986acd1d68b11b448e26e90759b6e97a0599616 Mon Sep 17 00:00:00 2001 From: Tobias Burgherr Date: Sun, 20 Sep 2026 22:53:15 +0200 Subject: [PATCH 3/3] chore: refresh uv.lock for 0.2.0 --- uv.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.lock b/uv.lock index cce14a0..3e57827 100644 --- a/uv.lock +++ b/uv.lock @@ -246,7 +246,7 @@ wheels = [ [[package]] name = "django-admin-runner" -version = "0.1.0" +version = "0.2.0" source = { editable = "." } dependencies = [ { name = "django" },