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

README: Add status badge for upstream daily build #60

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

jhedberg
Copy link
Collaborator

Add a status badge to indicate whether the upstream daily build is passing or not.

README.md Outdated
@@ -1,3 +1,5 @@
[![Silabs upstream daily build](https://github.com/SiliconLabsSoftware/zephyr-silabs/actions/workflows/upstream-build.yml/badge.svg)](https://github.com/SiliconLabsSoftware/zephyr-silabs/actions/workflows/upstream-build.yml)
Copy link
Contributor

@jerome-pouiller jerome-pouiller Oct 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a rather long line. I believe you can get the same result with:

[![Silabs upstream daily build][badge]][recipe]

[badge]:  actions/workflows/upstream-build.yml/badge.svg
[recipe]: actions/workflows/upstream-build.yml

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jerome-pouiller sure, thanks. What I initially had was a copy-paste of what GitHub itself offers when you select "Generate badge" in the Actions tab.

Copy link
Collaborator Author

@jhedberg jhedberg Oct 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jerome-pouiller done now, however I trust you that it's actually valid syntax (I'm not a Markdown expert)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If someone fork zephyr-silab he will get the status of the upstream repo. It is not a big deal I assume.

@jhedberg jhedberg force-pushed the upstream_status_badge branch from 6abf63a to b57d556 Compare October 31, 2024 09:58
Add a status badge to indicate whether the upstream daily build is passing
or not.

Signed-off-by: Johan Hedberg <[email protected]>
@jhedberg jhedberg force-pushed the upstream_status_badge branch from b57d556 to 36d6c89 Compare October 31, 2024 10:01
@jhedberg jhedberg merged commit dffa2b8 into SiliconLabsSoftware:main Oct 31, 2024
3 checks passed
@jhedberg jhedberg deleted the upstream_status_badge branch October 31, 2024 13:04
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.

2 participants