Skip to content

Pin CI badge to master branch - #11

Merged
foospidy merged 1 commit into
masterfrom
fix-ci-badge-branch
Jul 7, 2026
Merged

Pin CI badge to master branch#11
foospidy merged 1 commit into
masterfrom
fix-ci-badge-branch

Conversation

@foospidy

@foospidy foospidy commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

The Format, Lint & Test badge used the default (unqualified) workflow badge URL, which shows the latest run on the default branch regardless of which commit produced it. When an unrelated commit's run failed (e.g. a prior PR merge), the badge showed "failing" even though the current code passed CI.

This pins the badge image and its link to ?branch=master / ?query=branch:master so it always reflects master's status.

Verified the badge already renders passing for master.

🤖 Generated with Claude Code

The Format, Lint & Test badge defaulted to the latest run on the default
branch, which could reflect an unrelated commit's failed run. Pin it (and its
link) explicitly to the master branch so it always tracks master's status.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@foospidy
foospidy merged commit 9093441 into master Jul 7, 2026
4 checks passed
@foospidy
foospidy deleted the fix-ci-badge-branch branch July 7, 2026 17:03
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.

1 participant