ci: live coverage badge via update-badges workflow#9
Merged
Conversation
Wire a post-CI `badges` job that publishes a live coverage badge to an orphan `badges` branch, and reference it from the README. The `csharp-ci` and `update-badges` reusable workflows are temporarily pinned to the `feat/coverage-badges` PR branch of peacefulstudio/github-actions so this can be tested end-to-end. Repoint both to `@v2` once that PR is merged and the v2 tag is advanced.
Revert before merge — restore main-only push trigger and gate.
This reverts commit f209a07.
- Pass `artifact-prefix: csharp`/`scala` to the reusable CI workflows so the two languages no longer collide on run-level artifact names. - Render Platform Support as 3-column grids (Ubuntu/Windows/macOS, amd64 over arm64); Scala's Windows-arm64 cell stays empty. - Surface the latest-preview release badge in the top block.
…in-arm64 unsupported - Drop the duplicate coverage badge from the top block (the dedicated Coverage section already shows it). - Fill the empty Scala Windows/arm64 cell with a grey "not supported" badge.
Reverts the temporary feat/coverage-badge un-gate used for live badge testing; badge writes are main-gated again ahead of merge.
The badges feature shipped in github-actions v2.2.0, so pin back to the floating @v2 tag instead of the @feat/coverage-badges branch.
Contributor
Contributor
peaceful-bot
approved these changes
Jun 15, 2026
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.
Pilot for peacefulstudio/github-actions#23 (issue #22).
What
badgesjob:needs: csharp-ci,main-only,permissions: contents: write. Calls theupdate-badgesreusable workflow withcoverage: ${{ needs.csharp-ci.outputs.coverage }}, which writes a shields.io endpoint JSON to an orphanbadgesbranch via the built-inGITHUB_TOKEN(no gist, no PAT).…/badges/coverage.json.csharp-ciandupdate-badgesare pinned to thefeat/coverage-badgesPR branch ofgithub-actionsso this tests end-to-end. Do not merge as-is. Oncegithub-actions#23merges andv2advances:@feat/coverage-badges→@v2in.github/workflows/ci.yaml.mainrun writes thebadgesbranch.Not included
publish-splice.yamlhas an unrelated pre-existing local edit; left out of this branch deliberately.