yi-xu-0100/Traffic to Badge
Use repository traffic data to generate badges that include views and clones.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| my_token | Set up a personal access token to obtain the secret repository traffic data. | yes | — |
| static_list | Set up a list of repositories to get. Only when github.repository with setting into first item, it can be correct to be current repository name. | no | ${{ github.repository }} |
| traffic_branch | If empty traffic data will be backed up to the branch named traffic. | no | traffic |
| views_color | Set a hex or named color value for the views badge background. | no | brightgreen |
| clones_color | Set a hex or named color value for the clones badge background. | no | brightgreen |
| views_week_color | Set a hex or named color value for the views per week badge background. | no | brightgreen |
| clones_week_color | Set a hex or named color value for the clones per week badge background. | no | brightgreen |
| total_views_color | Set a hex or named color value for the total views badge background. | no | brightgreen |
| total_clones_color | Set a hex or named color value for the total clones badge background. | no | brightgreen |
| total_views_week_color | Set a hex or named color value for the total views per week badge background. | no | brightgreen |
| total_clones_week_color | Set a hex or named color value for the total clones per week badge background. | no | brightgreen |
| logo | Insert a named logo or simple-icon to the left of the label. | no | github |
| year | Set a year number for license year beginning. If empty, it will no beginning year. | no | — |
Outputs
| name | description |
|---|---|
| traffic_branch | Origin traffic data branch name |
| traffic_path | Path to generate traffic data |