4.9 KiB
4.9 KiB
| ← Back to plugins index | |
🏆 Achievements | |
|---|---|
This plugin displays several highlights about what you achieved on GitHub. | |
| Supported features → Full specification |
📗 Classic template |
👤 Users 👥 Organizations |
|
🔑 (scopeless) read:org (optional) read:user (optional) read:packages (optional) repo (optional) |
|
|
|
|
➡️ Available options
| Option | Description |
|
Enable achievements plugin |
type: boolean
default: no |
|
|
Display rank threshold Use |
type: string
default: C allowed values:
|
|
|
Display secrets achievements |
type: boolean
default: yes |
|
|
Display style
|
type: string
default: detailed allowed values:
|
|
|
Display limit |
type: number
(0 ≤
𝑥)
default: 0 |
|
|
Hide specified achievements Use names without the rank adjective (i.e. without "great", "super" or "master") |
type: array
(comma-separated)
|
|
|
Restrict display to specified achievements Use names without the rank adjective (i.e. without "great", "super" or "master") This option is equivalent to |
type: array
(comma-separated)
|
ℹ️ Examples workflows
name: Detailed display
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.achievements.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_only: sponsor, maintainer, octonaut
name: Compact display
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.achievements.compact.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_only: >-
polyglot, stargazer, sponsor, deployer, member, maintainer, developer,
scripter, packager, explorer, infographile, manager
plugin_achievements_display: compact
plugin_achievements_threshold: X