Add notable contributions threshold #225
Replies: 2 comments 2 replies
-
Yes it would be a good feature to implement! Stars, watchers and forks can be retrieved by patching this query: Then patching this condition to add the threshold requirements: As for the treshold syntax, maybe we could base it on GitHub's search syntax (which is similar to what you proposed), like One thing to note though, is that this plugin was originally thought to mimick the GitHub activity section (but only counting orgs where you commited at least once) so that's why it only display the org name and not the repo name. But maybe we could add a new option to let user display either just org names (in this case we would display org name only if user has contributed to at least one repo with matching criterias) or org names + repo name (where only repo matching criterias will be displayed) |
Beta Was this translation helpful? Give feedback.
-
Implemented in #240 You can now use: - uses: lowlighter/metrics@latest
with:
# ... other options
plugin_notable: yes
plugin_notable_filter: stars:>500 Thanks a lot for your suggestion 🙂 ! |
Beta Was this translation helpful? Give feedback.
-
The way it works will allow you to add a threshold between 3 categories: watchers, stargazers or forks.
for example, if you have contributed to desktop/desktop that has 2000 stars and your threshold is 500 stars, it'd display that, so you could do:
plugin_notable_threshold: stars 500, forks 500, watchers 500
Then if the repository meats those conditions it will display!
Beta Was this translation helpful? Give feedback.
All reactions