Skip to content

Conversation

@ryanande
Copy link
Owner

Cleans up the release workflow by using marketplace actions:

Improvements:

  • ✅ Uses softprops/action-gh-release for creating releases (replaces 50+ lines of custom JS)
  • ✅ Simplified tag creation using GitHub API
  • ✅ Cleaner auto-merge logic
  • ✅ 45% fewer lines of code (191 → 105 lines)
  • ✅ More maintainable and follows best practices

Functionality:

  • Creates version PR on merge to main
  • Auto-merges version PR after checks pass
  • Creates git tag and GitHub release
  • Tag push triggers npm publish via ci.yml

Respects branch protection by using PRs instead of direct pushes.

- Creates a PR for version bump instead of pushing directly
- Auto-merges version PR after checks pass
- Creates tag and release when version PR is merged
- Respects branch protection rules
- Follows GitHub Actions best practices
- Use softprops/action-gh-release for creating releases (replaces custom script)
- Simplify auto-merge logic
- Use GitHub API for tag creation (no checkout needed)
- Much cleaner and more maintainable code
@ryanande ryanande merged commit 7d5a1f0 into main Dec 23, 2025
4 checks passed
@ryanande ryanande deleted the feature/fixpublish branch January 7, 2026 20:19
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.

2 participants