Metrics #13
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
| # Visit https://github.com/lowlighter/metrics#-documentation for full reference | |
| name: GitHub Metrics | |
| on: | |
| # Schedule updates (every 12 hours) | |
| schedule: [{cron: "0 */12 * * *"}] | |
| # Allows manual trigger | |
| workflow_dispatch: | |
| # Runs on every push to main or master branch | |
| push: {branches: ["master", "main"]} | |
| jobs: | |
| github-metrics: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: lowlighter/metrics@latest | |
| with: | |
| # GitHub token (store this in your repository secrets as METRICS_TOKEN) | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| # User settings | |
| user: ryu-ryuk | |
| template: classic | |
| base: header, activity, community, repositories, metadata | |
| config_octicon: yes | |
| config_timezone: Asia/Kolkata | |
| # Language Plugin | |
| plugin_languages: yes | |
| plugin_languages_analysis_timeout: 15 | |
| plugin_languages_analysis_timeout_repositories: 7.5 | |
| plugin_languages_categories: markup, programming | |
| plugin_languages_colors: github | |
| plugin_languages_limit: 8 | |
| plugin_languages_recent_categories: markup, programming | |
| plugin_languages_recent_days: 14 | |
| plugin_languages_recent_load: 300 | |
| plugin_languages_sections: most-used | |
| plugin_languages_threshold: 0% | |
| # Lines of Code Plugin | |
| plugin_lines: yes | |
| plugin_lines_history_limit: 1 | |
| plugin_lines_repositories_limit: 4 | |
| plugin_lines_sections: base | |
| # Notable Contributions | |
| plugin_notable: yes | |
| plugin_notable_from: all | |
| plugin_notable_repositories: yes | |
| plugin_notable_types: commit | |
| # Sponsorships | |
| plugin_sponsorships: yes | |
| plugin_sponsorships_sections: amount, sponsorships | |
| plugin_sponsorships_size: 24 | |
| # Repositories | |
| repositories_forks: yes |