forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
95 lines (82 loc) · 2.68 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: 📓 Featured repositories
category: github
description: |
This plugin displays a list of chosen featured repositories.
Since it is possible to [pin repositories](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/pinning-items-to-your-profile) on GitHub, this plugin is mostly intended for external usage.
notes: |
> ⚠️ Due to limitations of using SVG images inside `<img>` tags, clicking on a repository card will not redirect to repository page.
examples:
+featured: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.repositories.svg
pinned: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.repositories.pinned.svg
index: 14
supports:
- user
- organization
scopes:
- public_access
inputs:
plugin_repositories:
description: |
Enable repositories plugin
type: boolean
default: no
plugin_repositories_featured:
description: |
Featured repositories
Current [`user`](/source/plugins/core/README.md#user) will be used when no owner is specified
type: array
format: comma-separated
default: ""
example: metrics, lowlighter/metrics
preset: no
plugin_repositories_pinned:
description: |
Pinned repositories
type: number
default: 0
min: 0
max: 6
plugin_repositories_starred:
description: |
Featured most starred repositories
type: number
default: 0
min: 0
max: 100
plugin_repositories_random:
description: |
Featured random repositories
type: number
default: 0
min: 0
max: 100
plugin_repositories_order:
description: |
Featured repositories display order
type: array
values:
- featured
- pinned
- starred
- random
default: featured, pinned, starred, random
plugin_repositories_forks:
description: |
Include repositories forks
type: boolean
default: no
plugin_repositories_affiliations:
description: |
Repositories affiliations
- `owner`: owned repositories
- `collaborator`: repositories with push access
- `organization_member`: repositories from an organization where user is a member
Set to `""` to disable and fetch all repositories related to given account.
This option changes which repositories will be fetched by [`plugin_repositories_starred`](/source/plugins/projects/README.md#plugin_repositories_starred) and [`plugin_repositories_random`](/source/plugins/projects/README.md#plugin_repositories_random) options
type: array
format: comma-separated
default: owner
values:
- owner
- collaborator
- organization_member