From 996a20accd8ba3a8ee701b0ca392c7cd4c9a158f Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Fri, 30 Oct 2026 14:21:26 +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. Workflow badges now use GitHub's native badges, and static badges are committed SVGs. --- .github/assets/badges/licence.svg | 1 + .github/assets/badges/rust.svg | 1 + README.md | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .github/assets/badges/licence.svg create mode 100644 .github/assets/badges/rust.svg diff --git a/.github/assets/badges/licence.svg b/.github/assets/badges/licence.svg new file mode 100644 index 0000000..cb61218 --- /dev/null +++ b/.github/assets/badges/licence.svg @@ -0,0 +1 @@ +licence: FSL-1.1-ALv2licenceFSL-1.1-ALv2 diff --git a/.github/assets/badges/rust.svg b/.github/assets/badges/rust.svg new file mode 100644 index 0000000..10fa76d --- /dev/null +++ b/.github/assets/badges/rust.svg @@ -0,0 +1 @@ +rust: 1.99+rust1.99+ diff --git a/README.md b/README.md index f4e4343..33e2096 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@
-[![tests](https://img.shields.io/github/actions/workflow/status/EquityBot/Industrious/ci.yml?branch=main&label=tests&labelColor=000000&style=flat)](https://github.com/EquityBot/Industrious/actions/workflows/ci.yml) [![CodeQL](https://img.shields.io/github/actions/workflow/status/EquityBot/Industrious/codeql.yml?branch=main&label=CodeQL&labelColor=000000&style=flat)](https://github.com/EquityBot/Industrious/actions/workflows/codeql.yml)
+[![tests](https://github.com/EquityBot/Industrious/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/EquityBot/Industrious/actions/workflows/ci.yml) [![CodeQL](https://github.com/EquityBot/Industrious/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/EquityBot/Industrious/actions/workflows/codeql.yml)
[![OpenSSF Scorecard](https://img.shields.io/ossf-scorecard/github.com/EquityBot/Industrious?label=Scorecard&labelColor=000000&style=flat)](https://scorecard.dev/viewer/?uri=github.com/EquityBot/Industrious)
-[![rust: 1.99+](https://img.shields.io/badge/rust-1.99%2B-66023C?labelColor=000000&style=flat&color=66023C)](https://www.rust-lang.org/) [![licence: FSL-1.1-ALv2](https://img.shields.io/badge/licence-FSL--1.1--ALv2-66023C?labelColor=000000&style=flat&color=66023C)](LICENSE) +[![rust: 1.99+](.github/assets/badges/rust.svg)](https://www.rust-lang.org/) [![licence: FSL-1.1-ALv2](.github/assets/badges/licence.svg)](LICENSE)