How to make dynamic github icons, i.e. images in README, that change state?

How do you add an β€œicon” to GitHub README so that it is dynamic? By "icon" I mean enter image description here

The question is even if you put the URL in GitHub README that maps to the server returning svg / png, how does it automatically update on the README GitHub page?

As an example, if you visit the link, you will see the updated status of the problem (which is closed), but my GitHub README page still shows an outdated icon, shows that the problem is open.

What is sample server code (say in golang) that can render github icons dynamically?

+3
source share
1 answer

This is just an image with a url. This is up to the server (your example looks like Jenkins) to decide which image to provide.

+2
source

Source: https://habr.com/ru/post/1216442/


All Articles