Skip to content

feat: add semantic-release automation#661

Merged
amilajack merged 3 commits intomainfrom
feat-semantic-release-automation
Sep 25, 2025
Merged

feat: add semantic-release automation#661
amilajack merged 3 commits intomainfrom
feat-semantic-release-automation

Conversation

@amilajack
Copy link
Copy Markdown
Owner

Summary

Add semantic-release automation for automated versioning and publishing

Changes

  • Add semantic-release configuration
  • Add commit message validation with commitlint
  • Configure automated releases on main branch
  • Support for feature branch prereleases

Test plan

  • Commit message validation tested locally
  • Semantic-release dry run successful

- Configure semantic-release for automatic releases on main branch
- Update GitHub Actions workflow to trigger releases on push to main
- Add support for prerelease branches (beta, alpha, rc)
- Install and configure commitlint for conventional commit validation
- Set up husky pre-commit hooks for commit message validation
- Update Node.js version to 20.x in release workflow
- Add release scripts to package.json
- Support prerelease versions from feature branches (feat-*, fix-*, chore-*)
- Add semantic-release-monorepo for better monorepo support
- Conditionally apply git plugin only on main branch
- Remove beta/alpha/rc branches in favor of feature branch pattern
- Remove unnecessary semantic-release-monorepo package
- Simplify release configuration by removing extends field
- Keep feature branch prerelease support
@amilajack amilajack merged commit ae98059 into main Sep 25, 2025
21 checks passed
@amilajack amilajack deleted the feat-semantic-release-automation branch September 25, 2025 15:39
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Comment on lines 37 to +42
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[P1] Restore checkout credentials for semantic-release push

The release workflow now checks out the repo with persist-credentials: false while the release config still runs @semantic-release/git on main. When that plugin commits the changelog and tries to push the commit and tags, the origin remote no longer has the token injected by actions/checkout, so git push will fail with an authentication error and the release never completes. Unless another step reconfigures the remote, the job needs to retain credentials or set them explicitly before invoking semantic-release.

Useful? React with 👍 / 👎.

github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
# [6.1.0](v6.0.2...v6.1.0) (2026-01-23)

### Bug Fixes

* correct event name check in release workflow ([1b573c6](1b573c6))
* fix CI failures and improve test/release workflow separation ([#662](#662)) ([2b62f0e](2b62f0e))

### Features

* add ignoreConditionalChecks setting ([#676](#676)) ([4c3f730](4c3f730))
* add semantic-release automation ([#661](#661)) ([ae98059](ae98059))
* added support for regexp literal ([#644](#644)) ([ee71626](ee71626))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant