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

fix: only show shield.io badge for public repos #328

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Conversation

sorenlouv
Copy link
Owner

@sorenlouv sorenlouv commented Apr 4, 2022

Closes #320

Shield.io badges cannot be displayed for private repos and currently show an error like:

Status Branch Result
7.x

This PR changes this, so badges are only displayed for public repos. For private repos the link to the PR will simply be displayed.

Public repos

Status Branch Result
7.x

Private repos

Status Branch Result
7.x #297

@sorenlouv sorenlouv merged commit 932d586 into main Apr 5, 2022
@sorenlouv sorenlouv deleted the fix-shield branch April 5, 2022 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for just a link instead of a img.shields.io image
1 participant