diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml new file mode 100644 index 0000000..dbc05d8 --- /dev/null +++ b/.github/workflows/metrics.yml @@ -0,0 +1,86 @@ +name: 生成 README +on: + schedule: [{ cron: "0 0 * * *" }] + workflow_dispatch: + push: { branches: ["master", "main"] } +jobs: + metrics: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: lowlighter/metrics@latest + with: + token: ${{ secrets.METRICS_TOKEN }} + + user: mcseekeri + template: classic + base: header, activity, community, repositories, metadata + base_indepth: yes + config_octicon: yes + config_timezone: Asia/Shanghai + config_twemoji: yes + plugin_achievements: no + plugin_achievements_display: detailed + plugin_achievements_secrets: yes + plugin_achievements_threshold: C + plugin_activity: no + plugin_activity_days: 14 + plugin_activity_filter: public + plugin_activity_limit: 5 + plugin_activity_load: 300 + plugin_activity_timestamps: yes + plugin_activity_visibility: public + plugin_fortune: yes + plugin_gists: yes + plugin_habits: yes + plugin_habits_charts_type: classic + plugin_habits_days: 0 + plugin_habits_facts: yes + plugin_habits_from: 800 + plugin_habits_languages_limit: 8 + plugin_habits_languages_threshold: 0% + plugin_habits_trim: yes + plugin_introduction: yes + plugin_introduction_title: yes + 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_licenses: yes + plugin_licenses_legal: yes + plugin_licenses_ratio: yes + plugin_lines: yes + plugin_lines_history_limit: 8 + plugin_lines_repositories_limit: 4 + plugin_lines_sections: base + plugin_music_token: ${{ secrets.LASTFM_TOKEN }} + plugin_music: yes + plugin_music_provider: lastfm + plugin_music_user: MCSeekeri + plugin_music_limit: 6 + plugin_music_mode: recent + plugin_pagespeed: yes + plugin_pagespeed_detailed: yes + plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://next.sci-adv.cc + plugin_repositories: no + plugin_repositories_order: pinned, starred, random + plugin_stars: no + plugin_stars_limit: 5 + plugin_steam_token: ${{ secrets.STEAM_TOKEN }} + plugin_steam: yes + plugin_steam_achievements_limit: 4 + plugin_steam_games_limit: 4 + plugin_steam_recent_games_limit: 4 + plugin_steam_sections: player, most-played, recently-played + plugin_steam_user: "76561198356149041" + plugin_traffic: yes + repositories_forks: yes \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..743206f --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +