Skip to content

Pin README CI badges to the master branch#962

Merged
ankushdesai merged 1 commit into
masterfrom
claude/readme-master-badges
May 26, 2026
Merged

Pin README CI badges to the master branch#962
ankushdesai merged 1 commit into
masterfrom
claude/readme-master-badges

Conversation

@ankushdesai

Copy link
Copy Markdown
Member

Summary

The README CI badges had no branch filter, so each badge showed the status of the most recent run of that workflow on any branch — including failed runs on feature/PR branches and the superseded PR merge-ref actions/checkout failures. That made the repo look "red" on the home page even when master was green.

Adds ?branch=master to all four CI badges (Windows / Ubuntu / macOS / Tutorials) so they report default-branch status, and points the Tutorials badge link at the master-filtered runs.

Verification

I queried the master-pinned badge endpoints — all five workflows (ubuntuci, windowsci, macosci, pex, tutorials) report passing on master. So the home page will now reflect that instead of stray non-master run statuses.

Docs/markdown-only change; no code impact.


Generated by Claude Code

The README CI badges had no branch filter, so they reflected the most
recent run of each workflow on any branch - including failed runs on
feature/PR branches (and superseded PR merge-ref checkout failures).
Add ?branch=master so the badges report the default-branch status,
which is what 'is the repo green' should mean.
Copilot AI review requested due to automatic review settings May 26, 2026 03:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the README’s GitHub Actions status badges to the master branch so the repository home page reflects default-branch CI health instead of showing the most recent run on any branch.

Changes:

  • Add ?branch=master to the Windows, Ubuntu, and macOS CI badge image URLs.
  • Add ?branch=master to the Tutorials workflow badge image URL.
  • Update the Tutorials badge link to filter the workflow runs page to branch:master.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ankushdesai ankushdesai merged commit 6ce8ce4 into master May 26, 2026
11 checks passed
@ankushdesai ankushdesai deleted the claude/readme-master-badges branch May 26, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants