Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins/repositories): add plugin_repository_starred and plugin_repository_random #1176

Closed
lowlighter opened this issue Aug 6, 2022 Discussed in #1174 · 0 comments · Fixed by #1179
Closed

feat(plugins/repositories): add plugin_repository_starred and plugin_repository_random #1176

lowlighter opened this issue Aug 6, 2022 Discussed in #1174 · 0 comments · Fixed by #1179

Comments

@lowlighter
Copy link
Owner

Discussed in #1174

Originally posted by Andre601 August 5, 2022
I have an idea for 2 new options for the repository plugin I want to share:

Most starred

plugin_repository_starred: <number> would display <number> amounts of repositories from your account, sorted by their star count.

Example config:

name: Featured repositories
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.repositories.svg
  token: ${{ secrets.METRICS_TOKEN }}
  base: ""
  plugin_repositories: yes
  # Displays 3 repositories
  plugin_repositories_starred: 3

Random

plugin_repository_random to display a random repository from your account.

Example config:

name: Featured repositories
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.repositories.svg
  token: ${{ secrets.METRICS_TOKEN }}
  base: ""
  plugin_repositories: yes
  # Displays 3 repositories
  plugin_repositories_random: yes
```</div>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant