From 156a6a622a78e8f85a69f294b69dd2f3d7d337bb Mon Sep 17 00:00:00 2001 From: KeviM Date: Fri, 4 Sep 2026 12:41:41 -0700 Subject: [PATCH] docs: pin the CI badge to main Without `?branch=main` the badge renders the most recent run of the workflow on ANY branch, so a single failing pull-request run turns the README red for everyone reading the repository page while main is green. Pin it to the branch whose health the badge is meant to report. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be84cac..e88ded5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # spc-cpp -[![CI](https://github.com/Reddimus/spc-cpp/actions/workflows/ci.yml/badge.svg)](https://github.com/Reddimus/spc-cpp/actions/workflows/ci.yml) +[![CI](https://github.com/Reddimus/spc-cpp/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Reddimus/spc-cpp/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/Reddimus/spc-cpp)](https://github.com/Reddimus/spc-cpp/releases) [![C++23](https://img.shields.io/badge/C%2B%2B-23-blue.svg)](https://en.cppreference.com/w/cpp/23) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)