schneegans/Dynamic Badges
Create badges via shields.io/endpoint for your README.md which may change with every commit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| auth | Your secret with the gist scope | yes | — |
| gistID | The ID of the gist to use | yes | — |
| filename | The *.json or *.svg filename of the badge data | yes | — |
| label | The left text of the badge | yes | — |
| message | The right text of the badge | yes | — |
| host | The base URL of the gist API | no | https://api.github.com/gists/ |
| forceUpdate | If set to true, the gist will be updated even if the content did not change | no | false |
| labelColor | The left color of the badge | no | — |
| color | The right color of the badge | no | — |
| isError | The color will be red and cannot be overridden | no | — |
| namedLogo | A logo name from simpleicons.org | no | — |
| logoSvg | An svg-string to be used as logo | no | — |
| logoColor | The color for the logo | no | — |
| logoWidth | The space allocated for the logo | no | — |
| logoPosition | The position of the logo | no | — |
| style | The style like "flat" or "social" | no | — |
| cacheSeconds | The cache lifetime in seconds (must be greater than 300) | no | — |
| valColorRange | A numerical value used to define the message color. Usually this should be between maxColorRange and minColorRange. This is required if you want to use the color range feature. | no | — |
| maxColorRange | If valColorRange assumes this value, the badge will be green. This is required if you want to use the color range feature. | no | — |
| minColorRange | If valColorRange assumes this value, the badge will be red. This is required if you want to use the color range feature. | no | — |
| invertColorRange | If the range should be inverted, causing a smaller value to have green color. Defaults to false. | no | — |
| colorRangeSaturation | Saturation used by the color range feature. Defaults to 100. | no | — |
| colorRangeLightness | Lightness used by the color range feature. Defaults to 40. | no | — |
Outputs
no outputs