3 Commits
Author SHA1 Message Date
dev 082b8690b5 Merge pull request '[bug-nxhza9j2atqk] image-deploy: skip direct push when open PR already targets same tag' (#1) from dev/bug-nxhza9j2atqk/skip-direct-push-when-pr-open into main
validate / validate (push) Successful in 4s
2026-08-17 05:49:54 +00:00
dev 64a9e90138 ci: add validate workflow to enable Hub review fan-out
validate / validate (pull_request) Successful in 5s
2026-08-16 06:28:26 +00:00
dev 9980dafc6d fix: skip direct push when an open PR already targets the same image:tag
Before committing and pushing, query the Gitea API for open PRs in the
apps repo. If any open PR modifies the same kustomization.yaml path and
its diff contains the target tag, exit 0 — the PR is the intended review
gate and the direct push would bypass it.

Fails open on API errors so an outage does not block all deploys.

Fixes bug-nxhza9j2atqk
2026-08-16 06:22:32 +00:00