From: Elliot Ford Date: Wed, 11 Jan 2023 13:43:47 +0000 (+0000) Subject: Fix GitHub ci workflow badge X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e5282f9cee8f0289fa077578f001b45cf113cbfe;p=stevenblack-hosts.git Fix GitHub ci workflow badge See the linked GitHub issue from the previous version of the badge: https://github.com/badges/shields/issues/8671 In summary, these badges were changed in a breaking fashion such that the badges were just linking to the github issue rather than showing the data. Updating the url resolves this. Also update the link of the badge to specify the workflow file rather than the name, which matches the new behaviour of the badge. --- diff --git a/readme_template.md b/readme_template.md index 4bce9b65c..b7f3631c3 100644 --- a/readme_template.md +++ b/readme_template.md @@ -14,7 +14,7 @@ sources can be found in the `hosts/data/` directory. [![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt) [![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts) [![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors) -[![Build Status](https://img.shields.io/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster) +[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) [![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master) [![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)