|
1 | | -- uses: lowlighter/metrics@latest |
| 1 | +name: KernelBot Metrics |
| 2 | +on: |
| 3 | + schedule: [{cron: "0 0 * * *"}] # Atualiza todo dia |
| 4 | + workflow_dispatch: # Permite rodar na mão |
| 5 | + push: {branches: ["master", "main"]} # Gatilho ao subir código |
| 6 | + |
| 7 | +permissions: |
| 8 | + contents: write |
| 9 | + |
| 10 | +jobs: |
| 11 | + github-metrics: |
| 12 | + runs-on: ubuntu-latest |
| 13 | + steps: |
| 14 | + - uses: lowlighter/metrics@latest |
2 | 15 | with: |
3 | | - filename: kernel-status.svg |
4 | 16 | token: ${{ secrets.METRICS_TOKEN }} |
5 | | - committer_token: ${{ secrets.METRICS_TOKEN }} # Necessário para o push automático |
6 | 17 | user: GaabDevWeb |
7 | 18 | repo: KernelBot |
8 | 19 | template: classic |
9 | | - base: "" |
| 20 | + base: "" # REMOVE CABEÇALHO PESSOAL |
10 | 21 | config_timezone: America/Sao_Paulo |
11 | 22 | config_twotone: yes |
12 | | - config_display: large |
13 | | - |
14 | | - # Foco em Linguagem e Complexidade (Arquitetura do Kernel) |
| 23 | + |
| 24 | + # PLUGIN: IDIOMAS (Anatomia do sistema) |
15 | 25 | plugin_languages: yes |
16 | 26 | plugin_languages_details: lines, percentage |
17 | 27 | plugin_languages_indepth: yes |
18 | 28 |
|
19 | | - # Foco em Engenharia e Workflow (Gestão de Branches/PRs) |
20 | | - plugin_lines: yes |
| 29 | + # PLUGIN: FOLLOWUP (Backlog e Workflow) |
21 | 30 | plugin_followup: yes |
22 | 31 | plugin_followup_sections: repositories |
23 | 32 |
|
24 | | - # Atividade e Ritmo (Visual de "Dashboard" Industrial) |
25 | | - plugin_habits: yes |
26 | | - plugin_habits_charts: yes # Gera os gráficos de barras sólidos |
27 | | - plugin_habits_trim: yes |
| 33 | + # PLUGIN: LINES (Progresso de Refatoração) |
| 34 | + plugin_lines: yes |
28 | 35 |
|
29 | | - # Tráfego (Interesse no Repositório) |
| 36 | + # PLUGIN: TRAFFIC (Engajamento do Repo) |
30 | 37 | plugin_traffic: yes |
| 38 | + |
| 39 | + # OUTPUT |
| 40 | + filename: kernel-status.svg |
| 41 | + committer_token: ${{ secrets.METRICS_TOKEN }} |
0 commit comments