chore: replace semantic-release with manual GitHub Releases#387
Conversation
Remove semantic-release, create-release-pr workflow, and .releaserc.json. Releases are now created manually via the GitHub UI with auto-generated release notes configured in .github/release.yml.
✅ Deploy Preview for devsydev canceled.
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR migrates the repository from semantic-release–based automated release management to GitHub's native release changelog configuration. It removes the semantic-release workflows, configuration file, and dependency, and adds a new ChangesRelease automation migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/release.yml:
- Around line 5-6: The current exclude.authors entry (the authors field
containing "devsy-app[bot]") causes all PRs from that bot to be excluded
regardless of labels; to make exclusion conditional on the skip-changelog label,
remove the authors entry under exclude (delete the authors: - devsy-app[bot]
block) so only the exclude.labels rule applies, or alternatively move the bot
name into a labels-based rule; update the release configuration by editing the
exclude section to drop the authors key so label-only filtering (e.g.,
exclude.labels: ["skip-changelog"]) is used.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7998808e-838f-46bd-9418-83e3dc8abc84
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (5)
.github/release.yml.github/workflows/create-release-pr.yml.github/workflows/semantic-release.yml.releaserc.jsonpackage.json
💤 Files with no reviewable changes (3)
- .github/workflows/semantic-release.yml
- .releaserc.json
- .github/workflows/create-release-pr.yml
| authors: | ||
| - devsy-app[bot] |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
In GitHub .github/release.ymlfor generated release notes, doeschangelog.excludetreatlabelsandauthorsas independent exclusion criteria (OR behavior)? Specifically, ifauthorsincludesdevsy-app[bot], are all PRs from that author excluded regardless of labels?
💡 Result:
Yes—changelog.exclude.labels and changelog.exclude.authors are independent exclusion filters, and a PR is excluded if it matches either exclusion list. GitHub’s documentation for automatically generated release notes says changelog.exclude.labels is a list of labels that exclude a pull request from appearing in release notes, and changelog.exclude.authors is a list of user or bot login handles whose pull requests are to be excluded from release notes [1][2]. Since both are described as separate exclusion criteria at the same level (changelog.exclude), including an author like devsy-app[bot] in changelog.exclude.authors will exclude all PRs opened by that author from the generated release notes, regardless of the PR’s labels [1][2]. (Important nuance: the docs also support per-category exclusions via changelog.categories[*].exclude.*, which similarly define exclusions within a category scope; but for your specific question about changelog.exclude, the behavior is “exclude by labels OR exclude by authors” in effect.) [2]
Citations:
- 1: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
- 2: https://github.com/github/docs/blob/main/content/repositories/releasing-projects-on-github/automatically-generated-release-notes.md
exclude.authors excludes all bot PRs independent of labels.
The authors field on Lines 5–6 will exclude every pull request from devsy-app[bot], regardless of labels. This is independent from labels filtering—a PR is excluded if it matches either criterion. If the intent is to exclude PRs only when they are labeled skip-changelog, remove the authors section.
Suggested change
changelog:
exclude:
labels:
- skip-changelog
- authors:
- - devsy-app[bot]📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| authors: | |
| - devsy-app[bot] | |
| changelog: | |
| exclude: | |
| labels: | |
| - skip-changelog | |
| categories: |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/release.yml around lines 5 - 6, The current exclude.authors entry
(the authors field containing "devsy-app[bot]") causes all PRs from that bot to
be excluded regardless of labels; to make exclusion conditional on the
skip-changelog label, remove the authors entry under exclude (delete the
authors: - devsy-app[bot] block) so only the exclude.labels rule applies, or
alternatively move the bot name into a labels-based rule; update the release
configuration by editing the exclude section to drop the authors key so
label-only filtering (e.g., exclude.labels: ["skip-changelog"]) is used.
Pushing a tag matching v* creates a GitHub Release with auto-generated notes. Tags with a hyphen (e.g., v1.5.0-rc.1) create pre-releases, clean semver tags (e.g., v1.5.0) create stable releases.
Summary
semantic-release,.releaserc.json,create-release-pr.yml, andsemantic-release.yml.github/release.ymlto configure auto-generated release notes (categorized by label)This eliminates the commit signing issues, two-branch complexity, and conventional commit enforcement for releases.
Summary by CodeRabbit