From 52e313b25e5b4db14fd02c5ec0eb5a0ac97817f8 Mon Sep 17 00:00:00 2001 From: opencodecabilloteu Date: Sun, 18 Oct 2026 22:18:19 -0400 Subject: [PATCH] =?UTF-8?q?ci(tag):=20release=20Gitea=20(commit=20list)=20?= =?UTF-8?q?avant=20le=20dispatch=20Renovate=20+=20corps=20JSON=20du=20disp?= =?UTF-8?q?atch=20corrig=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/tag.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml index 4518767..8644fa3 100644 --- a/.gitea/workflows/tag.yaml +++ b/.gitea/workflows/tag.yaml @@ -42,11 +42,22 @@ jobs: labels: ${{ steps.meta.outputs.labels }} pull: true + release: + # Publishes the Gitea release for this tag (body = commits since the previous + # tag). Renovate copies that body into the bump PR in + # perso_private/tf-depl-kubernetes under "Release Notes"; without a release + # that section stays empty (bare "Compare Source" link). + needs: [build-push] + uses: perso/gitea-pipelines/.gitea/workflows/gitea-release.yaml@main + with: + image: jcabillot/opencode-dispatch + secrets: inherit + trigger-renovate: # The deployment repo perso_private/tf-depl-kubernetes pins this image; its # Renovate instance only scans hourly, so this dispatch opens the image bump # PR within minutes of the release instead of up to an hour later. - needs: [build-push] + needs: [build-push, release] runs-on: ubuntu-latest steps: - name: Trigger Renovate on perso_private/tf-depl-kubernetes @@ -57,6 +68,6 @@ jobs: curl -sS -f -X POST \ -u "renovate:${{ secrets.RENOVATE_TOKEN }}" \ -H "Content-Type: application/json" \ - -d '{{"ref":"main"}}' \ + -d '{"ref":"main"}' \ "https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches" echo "Renovate dispatched on perso_private/tf-depl-kubernetes" -- 2.54.0