CrimsonTome/.github/workflows/metrics.yml

62 lines
2.3 KiB
YAML
Raw Normal View History

2022-05-15 05:15:05 +01:00
# 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
2022-06-05 00:44:08 +01:00
permissions:
contents: write
2022-05-15 05:15:05 +01:00
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: crimsontome
2022-06-05 10:50:54 +01:00
template: classic
2022-05-15 05:15:05 +01:00
base: header, activity, community, repositories, metadata
config_timezone: Europe/London
plugin_achievements: yes
plugin_achievements_display: detailed
plugin_achievements_secrets: yes
plugin_achievements_threshold: C
plugin_activity: yes
plugin_activity_days: 14
plugin_activity_filter: all
plugin_activity_limit: 5
plugin_activity_load: 300
plugin_activity_visibility: all
2022-06-05 10:50:54 +01:00
plugin_followup: yes
plugin_followup_sections: repositories
2022-06-05 00:44:08 +01:00
plugin_isocalendar: yes
plugin_isocalendar_duration: half-year
2022-05-15 05:15:05 +01:00
plugin_languages: yes
plugin_languages_analysis_timeout: 15
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
2022-06-05 00:44:08 +01:00
plugin_notable: yes
plugin_notable_from: organization
plugin_notable_types: commit
2022-05-15 05:15:05 +01:00
plugin_stars: yes
plugin_stars_limit: 4