Consolidate and rename CI workflows#27
Merged
Merged
Conversation
Collapse the three per-OS build workflows and rename the hand-written ones for clarity. Behaviour is unchanged — same triggers, same required check. - build.yml (generated): Linux PR gate for PRs to main/release/support. Its job is still named `ubuntu-latest`, so the required status check and branch protection are untouched. - build-cross-platform.yml (generated): macOS + Windows in one workflow (a job per OS, via the attribute's params image list), gated to release intent — PRs to release/support and v* tag pushes only. Replaces macos-latest.yml + windows-latest.yml. - build-docs.yml: renamed from ubuntu-latest-docs.yml; still reports the `ubuntu-latest` check on docs-only PRs. - publish-packages-preview.yml / publish-packages-release.yml: renamed from preview.yml / release.yml. ReleaseWorkflow const in Build.CI.GitHubActions.cs updated to match the release workflow's new name (it gates CreateGitHubRelease). Regenerated the two generated workflows from build/Build.CI.GitHubActions.cs and updated the workflow-name references in README, CONTRIBUTING, architecture, branching-and-release, conventions, and release-and-versioning docs (also fixing some already-stale trigger descriptions). ADRs left as point-in-time records. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Cleans up a messy
.github/workflows/— same behaviour, clearer names.What
build/Build.CI.GitHubActions.cs) replace three per-OS files:build.yml— Linux PR gate (PRs tomain/release/*/support/*). Job stays namedubuntu-latest.build-cross-platform.yml— macOS + Windows in one workflow (a job per OS), gated to release intent (release/*/support/*PRs +v*tags).ubuntu-latest-docs→build-docs,preview→publish-packages-preview,release→publish-packages-release.ReleaseWorkflowconst updated to match the release workflow's newname:(it gatesCreateGitHubRelease).Why it's safe
ubuntu-latest, whichbuild.ymlstill emits. No admin change needed.build-docs.ymlstill reports theubuntu-latestcheck on docs-only PRs.Verification
dotnet fallout Test Pack→ 108 tests pass, 0 fail; all 24 packages pack.Not included: a pre-existing
.config/dotnet-tools.jsonworking change (addsnbgv) — unrelated, left out.