metrics #10
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: metrics | |
| on: | |
| schedule: | |
| - cron: "0 6 * * *" # daily at 06:00 UTC | |
| workflow_dispatch: # allow manual runs | |
| push: | |
| branches: [master] # regenerate when the profile changes | |
| permissions: | |
| contents: write # the action commits github-metrics.svg back to the repo | |
| jobs: | |
| metrics: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate metrics | |
| uses: lowlighter/metrics@latest | |
| with: | |
| # Classic PAT with scopes: repo + read:org + read:user, SSO-authorised | |
| # for the amebaai org so private/work activity is counted. | |
| # Stored as the METRICS_TOKEN repo secret. | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| user: Jarvvski | |
| filename: github-metrics.svg | |
| template: classic | |
| config_timezone: Europe/London | |
| config_display: large # wider card, fills the profile column | |
| config_animations: yes | |
| # Readability: frame the card as a solid panel (it renders transparent by | |
| # default, so grey text melts into GitHub's dark page). Lift text contrast. | |
| extras_css: | | |
| svg { background: #161b22; color: #c9d1d9; } | |
| h1, h2, h3 { color: #58a6ff; } | |
| # Keep only the identity header from the base; everything else is curated below. | |
| base: header | |
| # Centerpiece: 3D isometric contribution calendar. half-year keeps it compact | |
| # and legible rather than sprawling diagonally across the whole card. | |
| plugin_isocalendar: yes | |
| plugin_isocalendar_duration: half-year | |
| # Polyglot depth: real most-used + recently-used breakdown (Kotlin / Go / Rust / TS). | |
| plugin_languages: yes | |
| plugin_languages_indepth: yes | |
| plugin_languages_analysis_timeout: 15 | |
| plugin_languages_sections: most-used | |
| plugin_languages_details: percentage | |
| plugin_languages_recent_days: 30 | |
| plugin_languages_limit: 8 | |
| plugin_languages_colors: github | |
| # Tie the card back to the project bullets in the README. | |
| plugin_repositories: yes | |
| plugin_repositories_featured: jarvvski/aterm, jarvvski/wsg |