-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (74 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
name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "0 0 * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: User introduction
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.introduction.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
user: phillipchaffee
repositories_affiliations: owner, collaborator, organization_member
base: header
plugin_introduction: yes
- name: Lines of code changed
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.lines.svg
token: ${{ secrets.METRICS_TOKEN }}
base: repositories
user: phillipchaffee
repositories_affiliations: owner, collaborator, organization_member
plugin_lines: yes
- name: Recent activity charts
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.habits.charts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
user: phillipchaffee
repositories_affiliations: owner, collaborator, organization_member
plugin_habits: yes
plugin_habits_facts: no
plugin_habits_charts: yes
config_timezone: America/Los_Angeles
- name: Full-year calendar
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.isocalendar.fullyear.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
user: phillipchaffee
repositories_affiliations: owner, collaborator, organization_member
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
- name: Languages Indepth analysis
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.languages.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
user: phillipchaffee
repositories_affiliations: owner, collaborator, organization_member
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_sections: recently-used, most-used
plugin_languages_indepth: yes
plugin_languages_details: lines, bytes-size, percentage
plugin_languages_limit: 10
plugin_languages_recent_load: 1000
plugin_languages_recent_days: 30
plugin_languages_analysis_timeout: 30
commits_authoring: Phillip Chaffee, phillipchaffee, [email protected], [email protected]