Skip to content

Latest commit

 

History

History
81 lines (76 loc) · 2.29 KB

README.md

File metadata and controls

81 lines (76 loc) · 2.29 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

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