Author SHA1 Message Date
opencodecabilloteu 54c7eababb ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé
PR Checks / build-test (pull_request) Successful in 21s
PR Checks / hadolint (pull_request) Successful in 9s
2026-10-18 22:17:56 -04:00
+13 -2
View File
@@ -47,11 +47,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/phpapache
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
@@ -62,6 +73,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"