Skip to content

Latest commit

 

History

History
122 lines (116 loc) · 3.72 KB

README.md

File metadata and controls

122 lines (116 loc) · 3.72 KB

📌 Starred topics

This plugin displays starred topics. Check out GitHub topics to search interesting topics.

Supported features
→ Full specification
📗 Classic template 📒 Markdown template
👤 Users
No tokens are required for this plugin
With icons
With labels

➡️ Available options

TypeDescription

plugin_topics

Enable topics plugin

type: boolean
default: no

plugin_topics_mode

Display mode:

  • labels: display labels
  • icons: display icons (topics without icons will be ignored)
  • starred: alias for labels
  • mastered: alias for icons
type: string
default: starred
allowed values:
  • labels
  • icons
  • starred
  • mastered

plugin_topics_sort

Sorting method:

  • stars: sort by most stars
  • activity: sort by recent activity
  • starred: sort by the date you starred them
  • random: sort topics randomly
type: string
default: stars
allowed values:
  • stars
  • activity
  • starred
  • random

plugin_topics_limit

Display limit

When using plugin_topics_mode: labels, an ellipsis will be displayed

type: number (0 ≤ 𝑥 ≤ 20)
zero behaviour: disable
default: 15

ℹ️ Examples workflows

name: Labels
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.topics.svg
  token: NOT_NEEDED
  base: ""
  plugin_topics: yes
  plugin_topics_limit: 12
name: Icons
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.topics.icons.svg
  token: NOT_NEEDED
  base: ""
  plugin_topics: yes
  plugin_topics_limit: 0
  plugin_topics_mode: icons