mirror of
https://github.com/beshu-tech/deltaglider.git
synced 2026-05-25 16:19:32 +02:00
fefb253924
When the workflow's PAT_TOKEN lacks push-tag permission to this org repo (the v6.2.0 release hit this), the maintainer can push the tag locally and re-dispatch the workflow. Previously the "Check if tag already exists" step errored out fatally; now we fetch tags, reuse one if present, and only create+push when the tag's missing. This also lets us recover from a half-completed earlier run without having to delete the tag and rebuild from scratch. No behaviour change on a clean run from a writable PAT_TOKEN: the fetch is a no-op, the rev-parse misses, and the create+push branch fires exactly as before. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>