-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
metadata.yml
145 lines (123 loc) · 4.19 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: 🗃️ Base content
category: core
description:
examples:
default1: https://github.com/lowlighter/metrics/blob/examples/metrics.classic.svg
default2: https://github.com/lowlighter/metrics/blob/examples/metrics.organization.svg
supports:
- user
- organization
- repository
scopes:
- public_access
inputs:
base:
description: |
Base content
The following sections are supported:
- `header`, which usually contains username, two-weeks commits calendars and a few additional data
- `activity`, which contains recent activity (commits, pull requests, issues, etc.)
- `community`, which contains community stats (following, sponsors, organizations, etc.)
- `repositories`, which contains repository stats (license, forks, stars, etc.)
- `metadata`, which contains information about generated metrics
These are all enabled by default, but it is possible to explicitly opt out from them.
type: array
format: comma-separated
default: header, activity, community, repositories, metadata
values:
- header
- activity
- community
- repositories
- metadata
base_indepth:
description: |
Indepth mode
Enabling this will consume additional API queries to fetch more data.
This currently improves the accuracy of the following statistics:
- total commits
- total issues
- total pull requests
- total pull requests reviews
- total repositories contributed to
type: boolean
default: no
extras:
- metrics.api.github.overuse
base_hireable:
description: |
Show `Available for hire!` in header section
type: boolean
default: no
base_skip:
description: |
Skip base content
> ⚠️ Any plugin that relies on base content data may break!
> Only use this option when using a plugin that can be configured with [`token: NOT_NEEDED`](/source/plugins/core/README.md#token)
type: boolean
default: no
repositories:
description: |
Fetched repositories
A higher value result in more accurate metrics but can hit GitHub API rate-limit more easily (especially with a lot of plugins enabled)
type: number
default: 100
min: 0
repositories_batch:
description: |
Fetched repositories per query
If you receive `Something went wrong while executing your query` (which is usually caused by API timeouts), lowering this value may help.
This setting may not be supported by all plugins.
type: number
default: 100
max: 100
min: 1
repositories_forks:
description: |
Include forks
type: boolean
default: no
repositories_affiliations:
description: |
Repositories affiliations
- `owner`: owned repositories
- `collaborator`: repositories with push access
- `organization_member`: repositories from an organization where user is a member
Some plugin outputs may be affected by this setting too.
Set to `""` to disable and fetch all repositories related to given account.
Broad affiliations will result in less representative metrics.
type: array
format: comma-separated
default: owner
values:
- owner
- collaborator
- organization_member
repositories_skipped:
description: |
Default skipped repositories
type: array
format:
- newline-separated
- comma-separated
default: ""
example: my-repo-1, my-repo-2, owner/repo-3, ...
global: yes
users_ignored:
description: |
Default ignored users
Note that emails are only supported in commits-related elements.
type: array
format: comma-separated
default: github-actions[bot], dependabot[bot], dependabot-preview[bot], actions-user, [email protected]
global: yes
commits_authoring:
description: |
Identifiers that has been used for authoring commits
Specify names, surnames, username, email addresses that has been used in the past that can be used to detect commits ownerships in some plugins
type: array
format: comma-separated
default: .user.login
example: lowlighter, [email protected]
global: yes
preset: no