Skip to content

Latest commit

 

History

History
83 lines (78 loc) · 2.36 KB

File metadata and controls

83 lines (78 loc) · 2.36 KB

💬 Discussions

This plugin displays your GitHub discussions stats.

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

➡️ Available options

TypeDescription
plugin_discussions

Enable discussions plugin

type: boolean
default: no
plugin_discussions_categories

Toggle discussion categories display

✨ On master/main
type: boolean
default: yes
plugin_discussions_categories_limit

Display limit (categories)

Note that categories are sorted from highest to lowest count.

✨ On master/main
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