-
Notifications
You must be signed in to change notification settings - Fork 1
82 lines (69 loc) · 4.12 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
80
81
82
name: Metrics
on:
# Schedule updates (00:30 && 12:30 UTC daily)
schedule: [{ cron: "30 0,12 * * *" }]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: {branches: ["main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@master
with:
# Your GitHub token
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: vic
template: classic
config_gemoji: yes # use additional non-unicode emoji
config_timezone: America/Mexico_City
retries: 3
retries_delay: 300
# repositories_batch: 5
use_prebuilt_image: yes # faster execution
# base
base: header, activity, community, repositories, metadata
repositories_forks: no
repositories_affiliations: owner
repositories_skipped: vic/vic, github/copilot-preview
# The isocalendar plugin displays an isometric view of your commits calendar, along with a few additional stats like current streak and commit average per day.
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year # Display full year instead of half year
# The languages plugin displays which programming languages you use the most across all your repositories.
plugin_languages: yes
# plugin_languages_ignored: c, c++, c#, Java # List of languages to ignore
# plugin_languages_skipped: my-test-repo # List of repositories to skip
# plugin_languages_colors: "0:orange, javascript:#ff0000, ..." # Make most used languages orange and JavaScript red
plugin_languages_details: bytes-size, percentage # Additionally display total bytes size and percentage
# plugin_languages_threshold: 2% # Hides all languages less than 2%
plugin_languages_sections: most-used, recently-used
# The coding habits plugin display metrics based on your recent activity, such as active hours or languages recently used.
plugin_habits: yes
plugin_habits_from: 200 # Use 200 events to compute habits
plugin_habits_days: 90 # Keep only events from last 14 days
plugin_habits_facts: yes # Display facts section
plugin_habits_charts: yes # Display charts section
# The stars plugin displays your recently starred repositories.
plugin_stars: yes
plugin_stars_limit: 4 # Limit to 4 entries
# The reactions plugin displays overall reactions on your recent issues and issue comments.
plugin_reactions: yes
plugin_reactions_limit: 200 # Compute reactions over last 200 issue comments
plugin_reactions_days: 90 # Compute reactions on issue comments posted less than 90 days ago
plugin_reactions_details: count # Display reactions count but not percentage
# The followup plugin displays the ratio of open/closed issues and the ratio of open/merged pull requests across all your repositories, which shows if they're well-maintained or not.
plugin_followup: yes
plugin_followup_sections: repositories, user
# The lines of code plugin displays the number of lines of code you have added and removed across all of your repositories.
plugin_lines: yes
# The repositories traffic plugin displays the number of page views across your repositories.
plugin_traffic: yes
# The stargazers plugin displays your stargazers evolution across all of your repositories over the last two weeks.
plugin_stargazers: yes
# plugin_rss: yes
# plugin_rss_source: https://justatheory.com/feed.xml # RSS feed
# plugin_rss_limit: 6
plugin_notable: yes
plugin_notable_filter: stars:>20 # Only display repositories with 50 stars or more (syntax based on GitHub search query)
plugin_notable_repositories: yes # Display repositories name instead of only organization name