ci(release): add release-please automation#212
Merged
Conversation
- Add release-please-config.json β tracks root package only, SemVer bump rules, CHANGELOG sections (user-facing types visible, engineering types hidden) - Add .release-please-manifest.json β anchors current version at 14.0.26 (matches existing v14.0.26 tag) - Add .github/workflows/release.yml β runs on push to main and workflow_dispatch; uses googleapis/release-please-action@v4 - Add CHANGELOG.md β bootstrapped with v14.0.26 baseline; release-please appends new sections from here Step 4 of the open-source repo maintenance baseline initiative. How it works: when commits land on main (via the staging promotion PR from BRANCHING.md), release-please opens a Release PR with the version bump and grouped Conventional-Commits changelog. Merging that PR creates the git tag, GitHub Release, and commits the bumps. Frontend versioning (8.36.0) stays independent for now; can be added as a second release-please component later if a unified version is desired. Zero new npm dependencies β the action runs entirely on GitHub runners. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the βοΈ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
β¨ Finishing Touchesπ§ͺ Generate unit tests (beta)
Comment |
6 tasks
This was referenced Jun 9, 2026
parth0025
added a commit
to joshishiv4/AlianHub
that referenced
this pull request
Jun 15, 2026
- Rewrite Dockerfile as a multi-stage build on node:20-alpine (~150MB vs the previous ~1GB), npm ci for reproducibility, non-root user, tini for signal handling, HEALTHCHECK via Node - Drop broken admin/ references from the old Dockerfile (admin module is removed from the open-source repo) - Rewrite docker-compose.yml as a complete stack: MongoDB service, persistent volumes (mongo data + app uploads), env_file, health checks, depends_on service_healthy gate, restart policies, configurable port, dedicated bridge network - Expand .dockerignore: add .git, .github, .env*, .claude, *.md, tests, coverage, logs, IDE/OS files β smaller build context and prevents accidental secrets leak - Add .github/workflows/docker.yml: multi-arch builds (amd64+arm64), pushes to GHCR on release-published (from release-please in aliansoftwareteam#212) and on main pushes, PR builds run image verification only (no push). Docker Hub publishing is commented out β uncomment after adding DOCKERHUB_USERNAME and DOCKERHUB_TOKEN repo secrets. Step 5 of the open-source repo maintenance baseline initiative. After this lands and the first release-please release is cut, end users will be able to: docker pull ghcr.io/aliansoftwareteam/alianhub:latest docker compose up -d Image name uses the short branded form (aliansoftwareteam/alianhub) rather than the auto-derived full repo path. Zero new npm dependencies β the workflow runs entirely on GitHub runners. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
release-pleasefor automated SemVer bumps, CHANGELOG generation, git tags, and GitHub Releases. Step 4 of the open-source repo maintenance baseline initiative (#207 license, #208 branching, #209 lint).Builds directly on the Conventional Commits enforcement from #209 β every
feat/fix/perf/etc. commit onmainbecomes a line in the next changelog entry.What happens after this lands
Files changed (4, all new)
release-please-config.json.release-please-manifest.json14.0.26(matches existingv14.0.26git tag).github/workflows/release.ymlgoogleapis/release-please-action@v4on push tomain+workflow_dispatchfor manual triggeringCHANGELOG.mdDecisions documented
release-pleasepackage.jsononlymain(notstaging)featβ minor,fixβ patch,BREAKING CHANGEβ majorfeat,fix,perf,refactor,docs,revertshown;ci,chore,build,test,stylehidden@v4)main.ymlstylepackage.jsonis not touchedWhen branch protection is enabled on
main(per #208), the defaultGITHUB_TOKENmay not be able to push the Release PR if 1-approval-required is enforced. Two options to handle this once protection is on:reposcope, store asRELEASE_PLEASE_TOKENsecret, and replace${{ secrets.GITHUB_TOKEN }}inrelease.ymlEither way, this is a one-time post-merge setup.
The first time release-please runs (after the next
staging β mainpromotion), it will scan all 235+ Conventional Commits sincev14.0.26and generate one large changelog. That's expected β every commit between the existing tag and the new HEAD becomes a line. Subsequent releases will be small per-cycle.Test plan
mainβ release-please workflow should trigger (verify in Actions tab)chore(main): release v...with version bump + CHANGELOG diffCHANGELOG.mdis updated on mainpackage.jsonversion is bumped on main (and that bump didn't get bumped twice somehow)workflow_dispatchmanually from Actions tab β confirm same behaviorCompatibility
β Does NOT touch existing
main.ymldeploy workflow β runs alongside.β Does NOT add any npm dependencies.
β Does NOT conflict with PRs #207, #208, #209 β all touch different files.
π€ Generated with Claude Code