Repository navigation
Replies: 4 comments 4 replies
|
Are you essentially asking for a "last invoked" badge for github actions? |
|
I'd also like this functionality. Going to see if I can build it myself. |
|
There is some context and history to be aware of when it comes to trying to get information about github workflow runs from the api, which I collected here: #9189 (comment) |
|
The existing Dynamic JSON badge can display this for a public workflow, if the creation timestamp of its newest run is what you need. Use these fields in the badge builder: For example, this uses Shields' own I checked the unauthenticated API response against the rendered badge: both showed the same UTC timestamp. This follows the newest-created run across refs, with normal badge caching. It is not a last-success timestamp, and rerunning an older run does not turn its original |
Uh oh!
There was an error while loading. Please reload this page.
I've found a shield that shows whether an action has passed, but nothing related to the date of the latest github action. I was wondering if it was available. I wasn't able to find anything, neither in the shields.io website nor in the github endpoint list.
All reactions