Skip to content

ci: adopt release-please for automated releases - #156

Merged
athal7 merged 1 commit into
mainfrom
ci/release-please
Aug 10, 2026
Merged

ci: adopt release-please for automated releases#156
athal7 merged 1 commit into
mainfrom
ci/release-please

Conversation

@athal7

@athal7 athal7 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Replaces manual v* tag pushes with googleapis/release-please-action, which automatically tags and creates GitHub Releases on every merge to main based on conventional-commit messages.

@athal7
athal7 merged commit 0a64e29 into main Aug 10, 2026
6 checks passed
@athal7
athal7 deleted the ci/release-please branch August 10, 2026 19:36
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

Added Release Please configuration for the root opencode-pilot Node package. Set the manifest version to 0.28.0. Added a GitHub Actions workflow that runs on pushes to main with contents and pull-request write permissions.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the adoption of release-please for automated releases, which matches the primary changes.
Description check ✅ Passed The description accurately explains the replacement of manual tag pushes with automated releases through release-please.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/release-please.yml (1)

15-15: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win

Pin the action to an immutable commit.

googleapis/release-please-action@v4 is a mutable major tag. Pin a reviewed full commit SHA because this action receives contents: write and pull-requests: write.


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 75dc7203-5dd3-4078-a0b2-407c44b97538

📥 Commits

Reviewing files that changed from the base of the PR and between cb63b3e and 64cea53.

📒 Files selected for processing (3)
  • .github/workflows/release-please.yml
  • .release-please-manifest.json
  • release-please-config.json

Comment on lines +3 to +15
on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

Use one release producer for pushes to main.

.github/workflows/ci.yml, Lines 43-69, already runs npx semantic-release for pushes to main. This workflow runs Release Please for the same event. Both tools can create tags and GitHub Releases for the same commits, causing duplicate releases or conflicting tags. Disable the existing release job, or configure one tool to avoid creating tags and GitHub Releases.

athal7 added a commit that referenced this pull request Aug 10, 2026
…se (#160)

release-please was added in #156 alongside the existing semantic-release
setup (ci.yml) — both would trigger on push to main, double-releasing or
conflicting. This repo already has a working, just-fixed
(#159, no committed version file) semantic-release pipeline; it doesn't
need a second release mechanism. Removing the release-please addition
to leave exactly one.
athal7 added a commit that referenced this pull request Aug 10, 2026
…-please (#161)

Couldn't identify which session/process added release-please (PRs
#156-158, merged ~19:36-19:44 UTC today) — no aoe session had a path in
this repo, opencode's and omp's session DBs show no matching activity,
and history:// only sees this process's own subagents. Whatever did it
either ran outside any locally-tracked session or has since exited
without leaving a trace I can query.

Since I can't message the specific process, asserting the policy
durably in the repo instead: AGENTS.md already documented 'creates
release via semantic-release' in its Post-PR workflow section, but
nothing said not to add a second mechanism alongside it. Now it does,
explicitly, with the incident referenced by PR number.
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