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

better lifecycle badge #38

Open
cjyetman opened this issue May 8, 2024 · 0 comments
Open

better lifecycle badge #38

cjyetman opened this issue May 8, 2024 · 0 comments

Comments

@cjyetman
Copy link
Member

cjyetman commented May 8, 2024

We could implement a more machine friendly way of specifying the lifecycle of a repo, e.g. in a root level lifecycle.json file, which could then be ingested to be used as input for badge creation.

The json could look like

{
  "lifecycle": "experimental"
}

and then a badge could be made with a static URL like

![Lifecycle Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FRMI-PACTA%2Ftest-lifecycle%2Fmain%2Flifecycle.json&query=lifecycle&label=lifecycle)

Lifecycle Badge

test repo
https://github.com/RMI-PACTA/test-lifecycle/

⚠️ "raw" GitHub content is cached for 5 minutes, so a change would not be seen until 5 minutes after the commit

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

No branches or pull requests

1 participant