actions-marketplace-validations/Traffic to Badge

Use repository traffic data to generate badges that include views and clones.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 9, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/yi-xu-0100_traffic-to-badge@30b72a5c14228f077c629658eb56a78f3c71fd3c # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
my_tokenSet up a personal access token to obtain the secret repository traffic data. yes
static_listSet 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_branchIf empty traffic data will be backed up to the branch named traffic. notraffic
views_colorSet a hex or named color value for the views badge background. nobrightgreen
clones_colorSet a hex or named color value for the clones badge background. nobrightgreen
views_week_colorSet a hex or named color value for the views per week badge background. nobrightgreen
clones_week_colorSet a hex or named color value for the clones per week badge background. nobrightgreen
total_views_colorSet a hex or named color value for the total views badge background. nobrightgreen
total_clones_colorSet a hex or named color value for the total clones badge background. nobrightgreen
total_views_week_colorSet a hex or named color value for the total views per week badge background. nobrightgreen
total_clones_week_colorSet a hex or named color value for the total clones per week badge background. nobrightgreen
logoInsert a named logo or simple-icon to the left of the label. nogithub
yearSet a year number for license year beginning. If empty, it will no beginning year. no
namedescription
traffic_branchOrigin traffic data branch name
traffic_pathPath to generate traffic data