Repository navigation
[ci] Add workflow to auto-update download count in README - #610
Merged
Merged
Conversation
This workflow runs a bash script to pull the latest download count from npm, and update the README.md number if the new value is larger.
β Deploy Preview for colorjs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
LeaVerou
reviewed
Dec 25, 2024
Makes the regex match look for the exact same string as sed does. Probably won't actually matter, but doesn't hurt to do.
LeaVerou
approved these changes
Jan 31, 2025
Member
|
How can we set it to run a bit less frequently? There are way too many commits from it. Perhaps weekly? With a way to trigger it manually so we can run it before each release for example. |
Member
Author
|
The color.js/.github/workflows/download_count.yaml Lines 5 to 6 in a5e94f9 e.g. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Briefly discussed in #609
This workflow runs a bash script to pull the latest download count from npm, and update the README.md number if the new value is larger.
Currently, it's set up to run daily.