Skip to content

don't delete tags on failure#8810

Merged
jay-418 merged 4 commits into
mainfrom
jay/keep-tags
May 26, 2026
Merged

don't delete tags on failure#8810
jay-418 merged 4 commits into
mainfrom
jay/keep-tags

Conversation

@jay-418
Copy link
Copy Markdown
Contributor

@jay-418 jay-418 commented May 23, 2026

Copilot AI review requested due to automatic review settings May 23, 2026 00:40
@jay-418 jay-418 self-assigned this May 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the release cleanup behavior in the GitHub Actions release workflow to avoid deleting git tags when deleting a draft release, aligning with the goal of preserving tags after failures.

Changes:

  • Remove --cleanup-tag from the gh release delete command in the “Delete draft release” step so release deletion no longer removes the underlying git tag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
@atavism
Copy link
Copy Markdown
Contributor

atavism commented May 25, 2026

Do we want to update the workflow to keep --cleanup-tag for test/nightly runs and omit it only for real failed release cleanup?

Copy link
Copy Markdown
Contributor

@atavism atavism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just one comment

@jay-418
Copy link
Copy Markdown
Contributor Author

jay-418 commented May 26, 2026

Do we want to update the workflow to keep --cleanup-tag for test/nightly runs and omit it only for real failed release cleanup?

@atavism, we do not create tags on draft releases (anymore), so there is no tag to cleanup there, and the existing release cleanup does the job.

@jay-418 jay-418 merged commit 79eee6d into main May 26, 2026
8 checks passed
@jay-418 jay-418 deleted the jay/keep-tags branch May 26, 2026 21:24
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.

3 participants