mirror of
https://github.com/yawaflua/yawaflua.git
synced 2025-12-10 12:39:33 +02:00
58 lines
2.2 KiB
YAML
58 lines
2.2 KiB
YAML
# Visit https://github.com/lowlighter/metrics#-documentation 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
|
|
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.METRICS_TOKEN }}
|
|
|
|
# Options
|
|
user: yawaflua
|
|
template: terminal
|
|
base: header, activity, community, repositories, metadata
|
|
config_timezone: Europe/Moscow
|
|
plugin_habits: yes
|
|
plugin_habits_charts_type: classic
|
|
plugin_habits_days: 14
|
|
plugin_habits_facts: yes
|
|
plugin_habits_from: 200
|
|
plugin_habits_languages_limit: 8
|
|
plugin_habits_languages_threshold: 0%
|
|
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
|
|
plugin_pagespeed: yes
|
|
plugin_pagespeed_url: https://yawaflua.ru/
|
|
plugin_repositories: yes
|
|
plugin_repositories_order: featured, pinned, starred, random
|