File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : KernelBot Metrics
22on :
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
3+ schedule : [{cron: "0 0 * * *"}]
4+ workflow_dispatch :
5+ push : {branches: ["master", "main"]}
66
77permissions :
88 contents : write
@@ -14,28 +14,32 @@ jobs:
1414 - uses : lowlighter/metrics@latest
1515 with :
1616 token : ${{ secrets.METRICS_TOKEN }}
17+ committer_token : ${{ secrets.METRICS_TOKEN }}
1718 user : GaabDevWeb
1819 repo : KernelBot
1920 template : classic
20- base : " " # REMOVE CABEÇALHO PESSOAL
21+
22+ # Ajuste de base para garantir a geração do arquivo
23+ base : repositories
24+ base_setup : yes
25+ base_repositories : no
26+
2127 config_timezone : America/Sao_Paulo
2228 config_twotone : yes
2329
24- # PLUGIN: IDIOMAS (Anatomia do sistema)
30+ # Plugins solicitados
2531 plugin_languages : yes
2632 plugin_languages_details : lines, percentage
2733 plugin_languages_indepth : yes
2834
29- # PLUGIN: FOLLOWUP (Backlog e Workflow)
3035 plugin_followup : yes
3136 plugin_followup_sections : repositories
3237
33- # PLUGIN: LINES (Progresso de Refatoração)
3438 plugin_lines : yes
3539
36- # PLUGIN: TRAFFIC (Engajamento do Repo)
3740 plugin_traffic : yes
3841
39- # OUTPUT
42+ # Configurações de Output e Commit
4043 filename : kernel-status.svg
41- committer_token : ${{ secrets.METRICS_TOKEN }}
44+ output_action : commit
45+ committer_branch : main # <--- Certifique-se que sua branch é main ou master
You can’t perform that action at this time.
0 commit comments