-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (78 loc) · 2.85 KB
/
metrics.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
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "0 * * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# - public_repo
# - read:user
# - read:org
# The following additional scopes may be required:
# - read:org (for organization related metrics)
# - read:user (for user related data)
# - read:packages (for some packages related data)
# - repo (optional, if you want to include private repositories)
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: WildCarl
template: classic
base: header, activity, community, repositories, metadata
config_timezone: Europe/London
plugin_achievements: yes
plugin_achievements_display: detailed
plugin_achievements_secrets: yes
plugin_achievements_threshold: C
plugin_activity: yes
plugin_activity_days: 14
plugin_activity_filter: all
plugin_activity_limit: 5
plugin_activity_load: 300
plugin_activity_visibility: all
plugin_code: yes
plugin_code_days: 3
plugin_code_lines: 12
plugin_code_load: 400
plugin_code_visibility: public
plugin_discussions: yes
plugin_discussions_categories: yes
plugin_gists: yes
plugin_introduction: yes
plugin_introduction_title: yes
plugin_isocalendar: yes
plugin_isocalendar_duration: half-year
plugin_languages: yes
plugin_languages_analysis_timeout: 15
plugin_languages_categories: markup, programming
plugin_languages_colors: github
plugin_languages_limit: 8
plugin_languages_recent_categories: markup, programming
plugin_languages_recent_days: 14
plugin_languages_recent_load: 300
plugin_languages_sections: most-used
plugin_languages_threshold: 0%
plugin_lines: yes
plugin_notable: yes
plugin_notable_from: organization
plugin_notable_types: commit
plugin_people: yes
plugin_people_limit: 24
plugin_people_size: 28
plugin_people_types: followers, following
plugin_projects: yes
plugin_projects_limit: 4
plugin_repositories: yes
plugin_stars: yes
plugin_stars_limit: 4