-
Notifications
You must be signed in to change notification settings - Fork 5
49 lines (47 loc) · 1.54 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
name: Metrics
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
push:
branches:
- master
jobs:
metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Update metrics
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.GH_TOKEN }}
filename: metrics.svg
committer_message: "chore: update ${filename}"
config_timezone: Europe/Paris
template: classic
base: header, activity, community, repositories, metadata
config_order: base.header, base.repositories, base.activity+community, isocalendar, music
output_condition: skip-if-only-metadata-changed
plugin_languages: yes
plugin_languages_details: bytes-size, percentage
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot, vba, tsql, scss, gherkin, vim, vim script, handlebars, XSLT
# extras_js: |
# document.querySelector(".field.calendar")?.remove()
# document.querySelector(".field.diskUsage")?.remove()
# plugin_isocalendar: yes
# plugin_followup: yes
# plugin_stargazers: yes
# plugin_topics: yes
# plugin_people: yes
# plugin_people_types: followers
delete-runs:
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
retain_days: 2
keep_minimum_runs: 2