Generate profile README #7484
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: Generate profile README | |
on: | |
# Trigger this workflow every hour... | |
schedule: | |
- cron: '0 * * * *' | |
# ...or manually by pressing a button... | |
workflow_dispatch: | |
# ...or whenever other workflow calls this | |
workflow_call: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout template | |
uses: actions/checkout@v4 | |
with: | |
ref: template | |
- name: Render GitHub Metrics | |
uses: lowlighter/metrics@latest | |
with: | |
token: ${{ secrets.METRICS_GITHUB_TOKEN }} | |
output_action: none | |
user: RangHo | |
template: classic | |
base: activity, community, repositories, metadata | |
config_timezone: Europe/Berlin | |
plugin_achievements: yes | |
plugin_achievements_display: detailed | |
plugin_achievements_secrets: yes | |
plugin_achievements_threshold: A | |
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: half-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% | |
- name: Run the generator script | |
run: ./generate.sh "$GITHUB_TOKEN" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |