ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé
CI Shared Jobs / hadolint (pull_request) Successful in 8s
CI Shared Jobs / build-test (pull_request) Successful in 1m4s
PR Checks / ci (pull_request) Successful in 1m13s

This commit is contained in:
opencodecabilloteu committed 2026-10-18 22:18:24 -04:00
1 parent df007ca514
commit 3c9d474af6
1 file changed
+13 -2
+13 -2
View File
@@ -39,11 +39,22 @@ jobs:
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
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-openchamber
secrets: inherit
trigger-renovate: trigger-renovate:
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its # The deployment repo perso_private/tf-depl-kubernetes pins this image; its
# Renovate instance only scans hourly, so this dispatch opens the image bump # 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. # PR within minutes of the release instead of up to an hour later.
needs: [build-push] needs: [build-push, release]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Trigger Renovate on perso_private/tf-depl-kubernetes - name: Trigger Renovate on perso_private/tf-depl-kubernetes
@@ -54,6 +65,6 @@ jobs:
curl -sS -f -X POST \ curl -sS -f -X POST \
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \ -u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
-H "Content-Type: application/json" \ -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" "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" echo "Renovate dispatched on perso_private/tf-depl-kubernetes"