From 0e9ff6cd9b427a55414db1111a6eeae9260a064e Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 16 Oct 2023 04:14:06 +0900 Subject: [PATCH] Fix CI status badge (#522) See the linked GitHub issue from the previous version of the badge: https://github.com/badges/shields/issues/8671 In summary, this type of badge was 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. --------- Co-authored-by: Elliot Ford --- README.rst | 4 ++-- docs/index.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index a0c0239a..45fa7f8f 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -.. image:: https://img.shields.io/github/workflow/status/MagicStack/uvloop/Tests - :target: https://github.com/MagicStack/uvloop/actions?query=workflow%3ATests+branch%3Amaster +.. image:: https://img.shields.io/github/actions/workflow/status/MagicStack/uvloop/tests.yml?branch=master + :target: https://github.com/MagicStack/uvloop/actions/workflows/tests.yml?query=branch%3Amaster .. image:: https://img.shields.io/pypi/v/uvloop.svg :target: https://pypi.python.org/pypi/uvloop diff --git a/docs/index.rst b/docs/index.rst index e08506ec..07b0d05b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,5 @@ -.. image:: https://img.shields.io/github/workflow/status/MagicStack/uvloop/Tests - :target: https://github.com/MagicStack/uvloop/actions?query=workflow%3ATests+branch%3Amaster +.. image:: https://img.shields.io/github/actions/workflow/status/MagicStack/uvloop/tests.yml?branch=master + :target: https://github.com/MagicStack/uvloop/actions/workflows/tests.yml?query=branch%3Amaster .. image:: https://img.shields.io/pypi/status/uvloop.svg?maxAge=2592000?style=plastic :target: https://pypi.python.org/pypi/uvloop