Update GitHub Actions workflow for KernelBot Metrics #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: KernelBot Metrics | |
| on: | |
| schedule: [{cron: "0 0 * * *"}] # Atualiza todo dia | |
| workflow_dispatch: # Permite rodar na mão | |
| push: {branches: ["master", "main"]} # Gatilho ao subir código | |
| permissions: | |
| contents: write | |
| jobs: | |
| github-metrics: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: lowlighter/metrics@latest | |
| with: | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| user: GaabDevWeb | |
| repo: KernelBot | |
| template: classic | |
| base: "" # REMOVE CABEÇALHO PESSOAL | |
| config_timezone: America/Sao_Paulo | |
| config_twotone: yes | |
| # PLUGIN: IDIOMAS (Anatomia do sistema) | |
| plugin_languages: yes | |
| plugin_languages_details: lines, percentage | |
| plugin_languages_indepth: yes | |
| # PLUGIN: FOLLOWUP (Backlog e Workflow) | |
| plugin_followup: yes | |
| plugin_followup_sections: repositories | |
| # PLUGIN: LINES (Progresso de Refatoração) | |
| plugin_lines: yes | |
| # PLUGIN: TRAFFIC (Engajamento do Repo) | |
| plugin_traffic: yes | |
| # OUTPUT | |
| filename: kernel-status.svg | |
| committer_token: ${{ secrets.METRICS_TOKEN }} |