-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 1.16 KB
/
Copy pathmain.yml
File metadata and controls
43 lines (35 loc) · 1.16 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
name: Metrics
on:
# Agenda para rodar todo dia à meia-noite
schedule: [{cron: "0 0 * * *"}]
# Permite que você rode manualmente na aba Actions
workflow_dispatch:
# Opcional: roda sempre que você der push na main
push: {branches: ["master", "main"]}
permissions:
contents: write
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
user: GaabDevWeb
template: classic
base: header, activity, community, repositories
config_timezone: America/Sao_Paulo
config_twotone: yes
config_display: large
plugin_lines: yes
plugin_languages: yes
plugin_languages_details: percentage
plugin_languages_sections: most-used
plugin_languages_indepth: yes
plugin_habits: yes
plugin_habits_from: 200
plugin_habits_days: 14
plugin_habits_charts: yes
plugin_habits_trim: yes
# CONFIGURAÇÃO DE OUTPUT
filename: github-metrics.svg