Skip to content

fix: Make release workflow idempotent for re-runs#1369

Merged
ttngu207 merged 1 commit intomasterfrom
fix/release-workflow-idempotent
Feb 3, 2026
Merged

fix: Make release workflow idempotent for re-runs#1369
ttngu207 merged 1 commit intomasterfrom
fix/release-workflow-idempotent

Conversation

@dimitri-yatsenko
Copy link
Member

Summary

  • Handle the case where README.md badge is already updated from a previous partial run
  • Uses conditional commit to avoid failure when there are no changes to commit

This fixes the release workflow failure for v2.0.0 where the workflow failed on re-run because the README badge commit step had "nothing to commit".

Test plan

  • Merge this PR
  • Delete v2.0.0 tag and release
  • Recreate v2.0.0 release (workflow will use updated workflow from new tag)

🤖 Generated with Claude Code

Handle the case where README.md badge is already updated from a
previous partial run. Uses conditional commit to avoid failure
when there are no changes to commit.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added bug Indicates an unexpected problem or unintended behavior enhancement Indicates new improvements labels Feb 3, 2026
@ttngu207 ttngu207 merged commit 5d5e6bf into master Feb 3, 2026
4 checks passed
@ttngu207 ttngu207 deleted the fix/release-workflow-idempotent branch February 3, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Indicates an unexpected problem or unintended behavior enhancement Indicates new improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants