Metrics #4387
This file contains 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 updates (each hour) | |
schedule: [{cron: "0 * * * *"}] | |
# Lines below let you run workflow manually and on each commit | |
workflow_dispatch: | |
push: {branches: ["master", "main"]} | |
jobs: | |
github-metrics: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
# Your GitHub token | |
# The following scopes are required: | |
# - public_access (default scope) | |
# The following additional scopes may be required: | |
# - read:org (for organization related metrics) | |
# - read:user (for user related data) | |
# - read:packages (for some packages related data) | |
# - repo (optional, if you want to include private repositories) | |
token: ${{ secrets.ENVSECRET }} | |
# Options | |
user: 0xvNFT | |
template: terminal | |
base: header, activity, community, repositories, metadata | |
config_octicon: yes | |
config_timezone: Asia/Shanghai | |
plugin_achievements: yes | |
plugin_achievements_display: detailed | |
plugin_achievements_secrets: yes | |
plugin_achievements_threshold: C | |
plugin_code: yes | |
plugin_code_days: 3 | |
plugin_code_lines: 12 | |
plugin_code_load: 400 | |
plugin_code_visibility: public | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: full-year | |
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% | |
plugin_lines: yes | |
plugin_lines_history_limit: 1 | |
plugin_lines_repositories_limit: 4 | |
plugin_lines_sections: base | |
repositories_forks: yes |