From 514ae26620200fce7d93e9f5b5bed4fd7148f850 Mon Sep 17 00:00:00 2001 From: basi Date: Tue, 29 Sep 2026 20:22:40 +0900 Subject: [PATCH] ci: skip the GitHub release when it already exists The Bump version workflow pins custom_tag to 1.2.0. Every push to main that does not raise it makes ncipollo/release-action try to create the existing v1.2.0 release again, and the run fails with 422 already_exists. github-tag-action already skips the existing tag; skipIfReleaseExists makes the release step skip the existing release the same way. Raising custom_tag still creates the new tag and release. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/bump-version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index e304996aaa..f7d956f0d9 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -22,3 +22,4 @@ jobs: tag: ${{ steps.tag_version.outputs.new_tag }} name: Release ${{ steps.tag_version.outputs.new_tag }} body: ${{ steps.tag_version.outputs.changelog }} + skipIfReleaseExists: true