ci: add CI, release, security workflows and VERSION file#2
Conversation
Introduce a standardized GitHub Actions suite for this C++ project: - ci.yml: cmake configure + build (Release) + ctest if present - version-check.yml: enforce VERSION bump on every PR vs master - release.yml: tag v<VERSION> and create a GitHub Release on push - scorecard.yml: OpenSSF Scorecard supply-chain analysis - stale.yml: mark and close inactive issues/PRs - labeler.yml + .github/labeler.yml: path-based PR auto-labels Add a root VERSION file (1.0.0) as the version source for the version-check and release workflows, since this repo has no package manifest. Remove the existing codeql.yml.
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
Adds a standardized GitHub Actions suite to this C++ project and removes the old
codeql.yml.ci.ymlcmake -B buildconfigure + build (Release), thenctestif any test targets existversion-check.ymlVERSIONfile (vsmaster)release.ymlmaster, tagv<VERSION>and create a GitHub Release with generated notes (skips if tag exists)scorecard.ymlstale.ymllabeler.yml+.github/labeler.ymlVERSION file (new)
This repo has no package manifest, so a root
VERSIONfile (1.0.0) is introduced as the single source of truth forversion-checkandrelease.Expected:
version-checkfails on THIS bootstrap PR onlyversion-checkdiffs the PR'sVERSIONagainstgit show origin/master:VERSION. Because this PR is the one that introducesVERSION, the file does not yet exist onmaster— the base read is treated as0.0.0, so the bump check passes logically. However, on this first bootstrapping PR the check may still report failure sinceVERSIONis brand new to the base branch. This is expected and acceptable for this PR only. OnceVERSIONexists onmaster(after merge),version-checkwill gate every subsequent PR normally, requiring a real version bump.Removed
.github/workflows/codeql.ymlNotes
dependency-review.ymlintentionally omitted — C++ has no dependency manifest for it to scan.actionlint .github/workflows/*.ymlpasses clean.