💕 GitHub Sponsors | |
|---|---|
This plugin displays sponsors and introduction text from GitHub sponsors. | |
| Supported features → Full specification |
📗 Classic template 📘 Repository template |
👤 Users 👥 Organizations 📓 Repositories |
|
🔑 read:user 🔑 read:org read:packages (optional) repo (optional) |
|
|
|
|
➡️ Available options
| Type | Description |
|
Enable sponsors plugin |
type: boolean
default: no |
|
|
Displayed sections
|
type: array
(comma-separated)
default: goal, about allowed values:
|
|
|
Display past sponsorships This feature requires a token from target account, as past sponsorships are gathered from sponsors activity and is private data. |
type: boolean
default: no |
|
|
Profile picture display size |
✨ On master/maintype: number
(8 ≤
𝑥
≤ 64)
default: 24 |
ℹ️ Examples workflows
name: Sponsors goal
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.sponsors.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: ""
plugin_sponsors: yes
plugin_sponsors_sections: goal
plugin_sponsors_past: yes
name: Sponsors introduction
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.sponsors.full.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: ""
plugin_sponsors: yes