Skip to content

Persist clone count to stats branch and update README badge#68

Merged
Sendipad merged 2 commits intodevelopfrom
codex/add-total-clone-counts-in-readme
Mar 3, 2026
Merged

Persist clone count to stats branch and update README badge#68
Sendipad merged 2 commits intodevelopfrom
codex/add-total-clone-counts-in-readme

Conversation

@Sendipad
Copy link
Copy Markdown
Owner

@Sendipad Sendipad commented Mar 3, 2026

Motivation

  • Ensure clone statistics are written to a dedicated stats folder on the stats branch for stable badge consumption.
  • Make the repository README badges point to the persisted artifact on the stats branch instead of transient response files.

Description

  • Updated .github/workflows/clone-stats.yml to save the GitHub API response to traffic.json, extract the count, create a stats directory, and write the final JSON to stats/clones.json before committing.
  • Adjusted the commit step to git add stats/clones.json and push the stats branch.
  • Updated README.md badges to reference the new raw file path on the stats branch (stats/stats/clones.json) and removed the old badge that pointed to develop.
  • Added stats/README.md explaining how the stats branch artifacts are produced and where the badge reads the JSON from.

Testing

  • No automated tests were modified or executed as part of this change.

Codex Task

@Sendipad Sendipad merged commit c55bd7c into develop Mar 3, 2026
6 checks passed
@Sendipad Sendipad deleted the codex/add-total-clone-counts-in-readme branch March 3, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant