Skip to content

Metrics Renders

Metrics Renders #4

name: Metrics
on:
schedule: [{cron: "0 0 * * *"}]
workflow_dispatch:
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
user: CompPsyUnion
template: classic
base: header, activity, repositories, metadata
config_timezone: Asia/Shanghai
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
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: Checkout repository
uses: actions/checkout@v4