Skip to content

Latest commit

 

History

History
85 lines (80 loc) · 2.7 KB

README.md

File metadata and controls

85 lines (80 loc) · 2.7 KB
← Back to plugins index

💬 Discussions

This plugin displays GitHub discussions stats.

⚠️ Disclaimer

This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with GitHub. All product and company names are trademarks™ or registered® trademarks of their respective holders.

Supported features
→ Full specification
📗 Classic template
👤 Users
🔑 (scopeless) read:org (optional) read:user (optional) read:packages (optional) repo (optional)

➡️ Available options

OptionDescription

plugin_discussions

Enable discussions plugin

type: boolean
default: no

plugin_discussions_categories

Discussion categories

type: boolean
default: yes

plugin_discussions_categories_limit

Display limit (categories)

Note that categories are sorted from highest to lowest count

type: number
zero behaviour: disable
default: 0

ℹ️ Examples workflows

name: GitHub Discussions
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.discussions.svg
  token: ${{ secrets.METRICS_TOKEN }}
  base: ""
  plugin_discussions: yes
  plugin_discussions_categories_limit: 8