From 901520877c047f03b1a251d5f0682abead65b037 Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Fri, 30 Oct 2026 13:40:46 +1100 Subject: [PATCH] Serve README badges without shields.io so they render through GitHub's image proxy GitHub's camo proxy timed out (504 after about 4.2 s) on most shields.io fetches, so the badges showed as broken images. Tests and CodeQL now use GitHub's native workflow badges, SonarCloud its own badge, and the static licence and fork-of badges are committed SVGs. --- .github/assets/badges/fork-of.svg | 1 + .github/assets/badges/licence.svg | 1 + README.md | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .github/assets/badges/fork-of.svg create mode 100644 .github/assets/badges/licence.svg diff --git a/.github/assets/badges/fork-of.svg b/.github/assets/badges/fork-of.svg new file mode 100644 index 000000000..7b9c53c8c --- /dev/null +++ b/.github/assets/badges/fork-of.svg @@ -0,0 +1 @@ +fork of: Ponytailfork ofPonytail diff --git a/.github/assets/badges/licence.svg b/.github/assets/badges/licence.svg new file mode 100644 index 000000000..cb61218b3 --- /dev/null +++ b/.github/assets/badges/licence.svg @@ -0,0 +1 @@ +licence: FSL-1.1-ALv2licenceFSL-1.1-ALv2 diff --git a/README.md b/README.md index 4162f12be..83d609cd3 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@
-[![tests](https://img.shields.io/github/actions/workflow/status/EquityBot/Puritanical/test.yml?branch=main&label=tests&labelColor=000000&style=flat)](https://github.com/EquityBot/Puritanical/actions/workflows/test.yml) [![CodeQL](https://img.shields.io/github/actions/workflow/status/EquityBot/Puritanical/codeql.yml?branch=main&label=CodeQL&labelColor=000000&style=flat)](https://github.com/EquityBot/Puritanical/actions/workflows/codeql.yml) [![SonarCloud](https://img.shields.io/sonar/quality_gate/EquityBot_Puritanical?server=https%3A%2F%2Fsonarcloud.io&label=SonarCloud&labelColor=000000&style=flat)](https://sonarcloud.io/summary/new_code?id=EquityBot_Puritanical)
-[![licence: FSL-1.1-ALv2](https://img.shields.io/badge/licence-FSL--1.1--ALv2-66023C?labelColor=000000&style=flat&color=66023C)](LICENSE) [![fork of: Ponytail](https://img.shields.io/badge/fork%20of-Ponytail-66023C?labelColor=000000&style=flat&color=66023C)](https://github.com/DietrichGebert/ponytail) +[![tests](https://github.com/EquityBot/Puritanical/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/EquityBot/Puritanical/actions/workflows/test.yml) [![CodeQL](https://github.com/EquityBot/Puritanical/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/EquityBot/Puritanical/actions/workflows/codeql.yml) [![SonarCloud](https://sonarcloud.io/api/project_badges/measure?project=EquityBot_Puritanical&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=EquityBot_Puritanical)
+[![licence: FSL-1.1-ALv2](.github/assets/badges/licence.svg)](LICENSE) [![fork of: Ponytail](.github/assets/badges/fork-of.svg)](https://github.com/DietrichGebert/ponytail) [Install](#install) · [Use](#use) · [The rules](#the-rules) · [Changes from Ponytail](#changes-from-ponytail) · [Development](#development)