Skip to content

v1.3.0

Choose a tag to compare

@pedrocatalao pedrocatalao released this 05 Nov 21:16
· 78 commits to main since this release
98a281c

Cards on their own branch

The workflow now publishes the cards to a cards branch of your profile repo instead of committing them to stats/ on your main branch. The branch holds a single commit, replaced whenever the cards change, so your main branch's history no longer grows with every update.

  • The README loads the cards from https://raw.githubusercontent.com/<you>/<you>/cards/…
  • When nothing changed, nothing is pushed

Every 2 hours

The workflow runs every 2 hours instead of once a day. With the cards off your main branch, frequent runs cost nothing in its history.

Upgrading

Workflows on @v1 keep working as before: they still commit to stats/. To move to the cards branch, run setup again and answer y to "Update it?":

bash <(curl -fsSL https://raw.githubusercontent.com/pedrocatalao/github-cool-readme/v1/setup.sh)

Setup updates the workflow and starts a first run. Once that run has made the cards on the branch, setup points the README at them and removes stats/ in one commit. Until then, your README stays as it is.

By hand: copy the new profile-workflow.yml, run it once, then change the image URLs in your README and delete stats/.