Closed
Description
In https://github.com/rust-lang/crates.io/blob/master/src/tests/badge.rs, there should be an action to set a (/ multiple?) Github Actions CI badge(s).
The format of the badge URL can be found here: https://help.github.com/en/github/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
Necessary parameters are OWNER
, REPOSITORY
, WORKFLOW_NAME
or WORKFLOW_FILE_PATH
. Optional parameters are branch
and event
.
This is an example of a Rust Workflow whose badge a user might want to add to crates.io: https://github.com/Empty2k12/rust-github-actions-test/workflows/Rust/badge.svg?branch=master, which looks like