|
1 | | -name: Metrics |
2 | | -on: |
3 | | - schedule: [{cron: "0 0 * * *"}] |
4 | | - workflow_dispatch: |
5 | | - push: {branches: ["master", "main"]} |
6 | | - |
7 | | -permissions: |
8 | | - contents: write |
9 | | - |
10 | | -jobs: |
11 | | - github-metrics: |
12 | | - runs-on: ubuntu-latest |
13 | | - steps: |
14 | | - - uses: lowlighter/metrics@latest |
| 1 | +- uses: lowlighter/metrics@latest |
15 | 2 | with: |
| 3 | + filename: kernel-status.svg |
16 | 4 | token: ${{ secrets.METRICS_TOKEN }} |
| 5 | + committer_token: ${{ secrets.METRICS_TOKEN }} # Necessário para o push automático |
17 | 6 | user: GaabDevWeb |
| 7 | + repo: KernelBot |
18 | 8 | template: classic |
19 | | - base: header, activity, community, repositories |
| 9 | + base: "" |
20 | 10 | config_timezone: America/Sao_Paulo |
21 | 11 | config_twotone: yes |
| 12 | + config_display: large |
| 13 | + |
| 14 | + # Foco em Linguagem e Complexidade (Arquitetura do Kernel) |
| 15 | + plugin_languages: yes |
| 16 | + plugin_languages_details: lines, percentage |
| 17 | + plugin_languages_indepth: yes |
22 | 18 |
|
23 | | - # PLUGIN: Calendário Isométrico (Estilo industrial/brutalista) |
24 | | - plugin_isocalendar: yes |
25 | | - plugin_isocalendar_duration: half-year |
| 19 | + # Foco em Engenharia e Workflow (Gestão de Branches/PRs) |
| 20 | + plugin_lines: yes |
| 21 | + plugin_followup: yes |
| 22 | + plugin_followup_sections: repositories |
26 | 23 |
|
27 | | - # PLUGIN: Hábitos e Linguagens |
| 24 | + # Atividade e Ritmo (Visual de "Dashboard" Industrial) |
28 | 25 | plugin_habits: yes |
29 | | - plugin_languages: yes |
30 | | - plugin_languages_details: percentage |
| 26 | + plugin_habits_charts: yes # Gera os gráficos de barras sólidos |
| 27 | + plugin_habits_trim: yes |
31 | 28 |
|
32 | | - # FORÇAR O OUTPUT (O segredo) |
33 | | - filename: github-metrics.svg |
34 | | - committer_token: ${{ secrets.METRICS_TOKEN }} # Usa o seu token para commitar o arquivo |
| 29 | + # Tráfego (Interesse no Repositório) |
| 30 | + plugin_traffic: yes |
0 commit comments