Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add badge for Github Actions CI #1877

Closed
Empty2k12 opened this issue Oct 22, 2019 · 3 comments
Closed

Add badge for Github Actions CI #1877

Empty2k12 opened this issue Oct 22, 2019 · 3 comments
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@Empty2k12
Copy link

Empty2k12 commented Oct 22, 2019

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

@carols10cents
Copy link
Member

#1838 is in progress to implement this.

@Empty2k12
Copy link
Author

My bad.

Since there is no issue open for #1838 I vouch to keep this open. Reading through #1838, other people have opened issues with the exact same issue since they didn't find an issue.

@carols10cents carols10cents added A-badges C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works labels Nov 11, 2019
@Turbo87
Copy link
Member

Turbo87 commented Apr 17, 2020

we've today decided to go in a different direction which should probably resolve this problem. more details are available in #2436

@Turbo87 Turbo87 closed this as completed Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

3 participants