ci: restructure pipeline (develop/main model, VERSION-driven releases) - #39
Merged
Conversation
… releases - Adopt develop (integration) / main (release) branch model; retarget all workflow branch filters and dependabot to develop. - Rewrite release.yml as check -> test -> build -> github-release: VERSION file is the source of truth, release fails if VERSION is not newer than the highest published release. Drop tag trigger and delete tag.yml. - Split CodeQL into codeql.yml with a security-and-quality config; keep Trivy, dependency-check and SBOM. - Add ReSharper InspectCode advisory workflow. - Add concurrency groups, bump checkout@v7 / setup-dotnet@v6, move allowed-licenses.json into .github/. - Update CLAUDE.md versioning docs for the new flow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
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.
Refactors the CI/CD pipeline toward the layout of R8.EntityFrameworkCore.AuditProvider, adapted from a NuGet-package repo to this AOT app.
Branch model
develop— integration branch; all PRs land here. Runs CI, security, license, CodeQL, InspectCode.main— release branch; a release happens by mergingdevelop→main.Versioning (no longer tag-driven)
release.ymlreads theVERSIONfile and compares it against the highest published GitHub release.vX.Y.Ztag (release anchor only) + publish release.VERSIONin the release PR).tag.ymldeleted; no tag trigger anywhere.Release pipeline shape
check → test → build (osx-arm64/osx-x64 matrix) → github-release. Tests run once (not per-RID); build legs only produce binaries.--self-contained/-p:Versiondropped (AOT-ris self-contained; csproj readsVERSION).Matched to reference
codeql.ymlsplit out ofsecurity.ymlwithsecurity-and-qualityqueries +.github/codeql/codeql-config.yml(ignoresapps.Tests/**).inspectcode.yml— ReSharper advisory SARIF.concurrencygroups on every workflow;checkout@v7/setup-dotnet@v6;allowed-licenses.json→.github/; dependabottarget-branch: develop.Kept (no reference equivalent)
sbom.yml, Trivy, dependency-check — retargeted only.Notes / unverified
jb inspectcode apps.slnx(.slnxsupport is ReSharper-version-dependent; advisory, won't block releases), macososx-x64cross-publish on arm64 runner (parity with previous file).developas default branch for PRs; enable branch protection onmain.🤖 Generated with Claude Code