Skip to content

guard release workflow reruns#83

Merged
cesaregarza merged 2 commits into
mainfrom
fix/release-rerun-guards
Mar 30, 2026
Merged

guard release workflow reruns#83
cesaregarza merged 2 commits into
mainfrom
fix/release-rerun-guards

Conversation

@cesaregarza

Copy link
Copy Markdown
Owner

Summary

  • skip release-tag creation when the target tag already exists on origin
  • skip GitHub release creation when the release already exists
  • gate the release job on the publish path actually running successfully

Why

The push-to-main workflow was fragile on reruns and manual release intervention. If a tag or GitHub release already existed, rerunning the workflow could fail even when the repository state was otherwise fine. The release job also ran too loosely relative to the build-test-publish job.

Impact

Rerunning the workflow after a partial release or manual cleanup is now idempotent instead of erroring on duplicate tag/release creation.

Testing

  • not run locally (GitHub Actions workflow change only)

@cesaregarza cesaregarza marked this pull request as ready for review March 30, 2026 06:57
@sonarqubecloud

Copy link
Copy Markdown

@cesaregarza cesaregarza merged commit e74de64 into main Mar 30, 2026
4 checks passed
@cesaregarza cesaregarza deleted the fix/release-rerun-guards branch March 30, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant