-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
metadata.yml
62 lines (54 loc) · 1.67 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 💕 GitHub Sponsors
category: github
description: |
This plugin displays sponsors and introduction text from [GitHub sponsors](https://github.com/sponsors/).
examples:
+GitHub sponsors card: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsors.svg
GitHub sponsors full introduction: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsors.full.svg
index: 13
supports:
- user
- organization
- repository
scopes:
- read:user
- read:org
inputs:
plugin_sponsors:
description: |
Enable sponsors plugin
type: boolean
default: no
plugin_sponsors_sections:
description: |
Displayed sections
- `goal`: display GitHub active goal
- `about`: display GitHub sponsors introduction
- `list`: display GitHub sponsors list
type: array
format: comma-separated
default: goal, list, about
example: goal, list, about
values:
- goal
- about
- list
plugin_sponsors_past:
description: |
Past sponsorships
A [`token`](/source/plugins/core/README.md#token) from target [`user`](/source/plugins/core/README.md#user) must be specified to use this feature, as past sponsorships are gathered from sponsors activity which is private data.
> ⚠️ Past sponsorships does not respect sponsors privacy because of current GitHub API limitations. This may be fixed in a future release.
type: boolean
default: no
plugin_sponsors_size:
description: |
Profile picture display size
type: number
default: 24
min: 8
max: 64
plugin_sponsors_title:
description: |
Title caption
type: string
default: Sponsor Me!