This repository was archived by the owner on Mar 2, 2025. It is now read-only.
forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.yml
More file actions
75 lines (67 loc) · 2.56 KB
/
metadata.yml
File metadata and controls
75 lines (67 loc) · 2.56 KB
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
name: "🗃️ Base content"
category: core
supports:
- user
- organization
- repository
inputs:
# Base content
base:
description: Metrics base content
type: array
format: comma-separated
default: header, activity, community, repositories, metadata
values:
- header # name, commits calendar, ...
- activity # commits, issues/pull requests opened, ...
- community # following, stars, sponsors, ...
- repositories # license, stars, forks, ...
- metadata # svg generation metadata
# Number of repositories to use to computes metrics
# Using more will result in more accurate metrics, but you may hit GitHub rate-limit more easily if you use a lot of plugins
repositories:
description: Number of repositories to use
type: number
default: 100
min: 0
# Number of repositories to load at once by queries
# If you encounter GitHub queries timeouts, using a lower value here may solve issues
repositories_batch:
description: Number of repositories to load at once by queries
type: number
default: 100
max: 100
min: 1
# Include forked repositories into metrics
repositories_forks:
description: Include forks in metrics
type: boolean
default: no
# Filter repositories by user affiliations (you can specify multiple affiliations constraints)
# Set to "" to use all repositories related to you
# Note that it may affect some plugin outputs (broad affiliations will result in less representative metrics)
repositories_affiliations:
description: Repositories affiliations
type: array
format: comma-separated
default: owner
values:
- owner # Use repositories you own
- collaborator # Use repositories you push access
- organization_member # Use repositories where you're an organization member
# List of default repositories that will be skipped
# Plugins supporting a "skip repositories option" will automatically append repositories listed in this option
repositories_skipped:
description: Default repositories to skip
type: array
format: comma-separated
default: ""
example: my-repo-1, my-repo-2, owner/repo-3, ...
# List of surnames or email addresses you use when authoring commits
# These are mostly used to perform commits analysis to detect ownership
commits_authoring:
description: List of surnames or email addresses you use when authoring commits
type: array
format: comma-seperated
default: .user.login
example: lowlighter, lowlighter@users.noreply.github.com