Skip to content

ci: make release workflow compatible with protected main#4

Merged
Mesteriis merged 1 commit into
mainfrom
fix/release-workflow
Mar 10, 2026
Merged

ci: make release workflow compatible with protected main#4
Mesteriis merged 1 commit into
mainfrom
fix/release-workflow

Conversation

@Mesteriis
Copy link
Copy Markdown
Owner

Summary

Fix the release workflow so future releases work with a protected main branch.

What changed

  • stop mutating package.json and package-lock.json inside the workflow
  • stop committing and pushing release artifacts back to main
  • release directly from the version already committed on main
  • skip cleanly when the corresponding tag already exists
  • keep quality gates and artifact verification before creating the tag/release

Why

The previous workflow always tried to prepare the next patch version and push it to main, which is incompatible with repository rules that require changes to go through a pull request.

@Mesteriis Mesteriis merged commit 16e73ec into main Mar 10, 2026
2 checks passed
@Mesteriis Mesteriis deleted the fix/release-workflow branch March 10, 2026 13:15
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

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