|
|
|
@ -10,43 +10,76 @@ jobs:
|
|
|
|
|
github-metrics:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
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 }}
|
|
|
|
|
- name: 📊 General
|
|
|
|
|
if: ${{ success() || failure() }}
|
|
|
|
|
uses: lowlighter/metrics@latest
|
|
|
|
|
with:
|
|
|
|
|
filename: general.svg
|
|
|
|
|
# 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 }}
|
|
|
|
|
base: header, activity, repositories, community, metadata
|
|
|
|
|
config_order: base.header
|
|
|
|
|
config_timezone: Europe/London
|
|
|
|
|
user: sgoudham
|
|
|
|
|
template: classic
|
|
|
|
|
|
|
|
|
|
# Options
|
|
|
|
|
user: sgoudham
|
|
|
|
|
template: classic
|
|
|
|
|
base: header, activity, community, repositories, metadata
|
|
|
|
|
config_timezone: Europe/London
|
|
|
|
|
plugin_achievements: yes
|
|
|
|
|
plugin_achievements_display: compact
|
|
|
|
|
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: public
|
|
|
|
|
plugin_introduction: yes
|
|
|
|
|
plugin_introduction_title: yes
|
|
|
|
|
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
|
|
|
|
|
- name: 📊 Organization introduction
|
|
|
|
|
uses: lowlighter/metrics@latest
|
|
|
|
|
with:
|
|
|
|
|
filename: metrics.plugin.introduction.svg
|
|
|
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
|
|
|
user: github
|
|
|
|
|
base: header
|
|
|
|
|
plugin_introduction: yes
|
|
|
|
|
|
|
|
|
|
- name: 📊 Recently used
|
|
|
|
|
uses: lowlighter/metrics@latest
|
|
|
|
|
with:
|
|
|
|
|
filename: metrics.plugin.languages.recent.svg
|
|
|
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
|
|
|
base: ""
|
|
|
|
|
plugin_languages: yes
|
|
|
|
|
plugin_lines: yes
|
|
|
|
|
plugin_languages_sections: recently-used
|
|
|
|
|
plugin_languages_details: bytes-size, percentage
|
|
|
|
|
plugin_languages_limit: 8
|
|
|
|
|
plugin_languages_analysis_timeout: 15
|
|
|
|
|
plugin_languages_categories: markup, programming
|
|
|
|
|
plugin_languages_colors: github
|
|
|
|
|
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: 📊 Recent activity
|
|
|
|
|
uses: lowlighter/metrics@latest
|
|
|
|
|
with:
|
|
|
|
|
filename: metrics.plugin.activity.svg
|
|
|
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
|
|
|
base: ""
|
|
|
|
|
plugin_activity: yes
|
|
|
|
|
plugin_activity_limit: 5
|
|
|
|
|
plugin_activity_days: 14
|
|
|
|
|
plugin_activity_filter: issue, pr, release, fork, review, ref/create
|
|
|
|
|
plugin_activity_limit: 5
|
|
|
|
|
plugin_activity_load: 300
|
|
|
|
|
plugin_activity_visibility: public
|
|
|
|
|
|
|
|
|
|
- name: Compact display
|
|
|
|
|
uses: lowlighter/metrics@latest
|
|
|
|
|
with:
|
|
|
|
|
filename: metrics.plugin.achievements.compact.svg
|
|
|
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
|
|
|
base: ""
|
|
|
|
|
plugin_achievements: yeS
|
|
|
|
|
plugin_achievements_display: compact
|
|
|
|
|
plugin_achievements_secrets: yes
|
|
|
|
|
plugin_achievements_threshold: c
|
|
|
|
|