Skip to content

fix: immutable releases blocking artifact uploads#62

Merged
tsunaminoai merged 5 commits into
mainfrom
61-immuntable-releases-blocking-checksum-and-other-artifact-addition
Jun 6, 2026
Merged

fix: immutable releases blocking artifact uploads#62
tsunaminoai merged 5 commits into
mainfrom
61-immuntable-releases-blocking-checksum-and-other-artifact-addition

Conversation

@tsunaminoai

Copy link
Copy Markdown
Contributor

Summary

  • Fix release workflow to use gh release create instead of softprops/action-gh-release, which uploads all artifacts atomically before the release is published — avoiding the immutable release window
  • Fix regression-protection ruleset scope from ~ALL (every branch) to ~DEFAULT_BRANCH (main only), which was blocking all feature branch pushes

Closes #61

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 6, 2026 14:35
@tsunaminoai tsunaminoai linked an issue Jun 6, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses two GitHub automation problems: (1) release asset uploads failing due to the “immutable release” window, and (2) an overly broad branch ruleset scope that was blocking pushes to non-default branches.

Changes:

  • Replace softprops/action-gh-release with a gh release create-based approach to better control release publishing timing and asset uploads.
  • Narrow the regression-protection ruleset from all branches to only the default branch.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/release.yml Switch release creation to GitHub CLI to avoid immutable-release upload failures.
.github/rulesets/regression-protection.json Limit enforcement scope to the default branch instead of all branches.

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

Comment thread .github/workflows/release.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 6, 2026 14:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@tsunaminoai tsunaminoai enabled auto-merge (squash) June 6, 2026 14:53
…eset

Remove the erroneous 'CI / ' prefix — GitHub Actions reports check names
without the workflow name prefix when jobs have an explicit name: override.
…ses-blocking-checksum-and-other-artifact-addition' into 61-immuntable-releases-blocking-checksum-and-other-artifact-addition
@tsunaminoai tsunaminoai merged commit ed0f2ed into main Jun 6, 2026
4 checks passed
@sc2ben sc2ben deleted the 61-immuntable-releases-blocking-checksum-and-other-artifact-addition branch June 6, 2026 15:01
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.

Immuntable releases blocking checksum and other artifact addition.

3 participants