Metrics #24233
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
# Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference | |
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 | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
# Your GitHub token | |
# The following scopes are required: | |
# - public_access (default scope) | |
# - repo | |
# The following additional scopes may be required: | |
# - read:org (for organization related metrics) | |
# - read:user (for user related data) | |
# - repo (optional, if you want to include private repositories) | |
token: ${{ secrets.METRICS_TOKEN }} | |
# Options | |
user: deepmodeling | |
template: classic | |
base: header, activity, community, repositories | |
config_timezone: Asia/Shanghai | |
repositories_forks: true | |
plugin_achievements: no | |
plugin_achievements_display: compact | |
plugin_achievements_secrets: yes | |
plugin_achievements_threshold: C | |
plugin_followup: yes | |
plugin_followup_sections: repositories | |
plugin_followup_indepth: yes | |
plugin_habits: no | |
plugin_habits_days: 14 | |
plugin_habits_facts: yes | |
plugin_habits_from: 200 | |
plugin_introduction: yes | |
plugin_introduction_title: yes | |
plugin_languages: yes | |
plugin_languages_analysis_timeout: 15 | |
plugin_languages_categories: markup, programming | |
plugin_languages_colors: github | |
plugin_languages_limit: 30 | |
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_traffic: yes | |
config_padding: 0, 8 + 15% |