Update workflow.yml

main
Hamothy 3 years ago committed by GitHub
parent 4181d00359
commit 2f0f9db89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,8 +10,11 @@ jobs:
github-metrics: github-metrics:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: lowlighter/metrics@latest - name: 📊 General
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with: with:
filename: general.svg
# Your GitHub token # Your GitHub token
# The following scopes are required: # The following scopes are required:
# - public_access (default scope) # - public_access (default scope)
@ -21,32 +24,62 @@ jobs:
# - read:packages (for some packages related data) # - read:packages (for some packages related data)
# - repo (optional, if you want to include private repositories) # - repo (optional, if you want to include private repositories)
token: ${{ secrets.METRICS_TOKEN }} token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, repositories, community, metadata
# Options config_order: base.header
config_timezone: Europe/London
user: sgoudham user: sgoudham
template: classic template: classic
base: header, activity, community, repositories, metadata
config_timezone: Europe/London - name: 📊 Organization introduction
plugin_achievements: yes uses: lowlighter/metrics@latest
plugin_achievements_display: compact with:
plugin_achievements_secrets: yes filename: metrics.plugin.introduction.svg
plugin_achievements_threshold: C token: ${{ secrets.METRICS_TOKEN }}
plugin_activity: yes user: github
plugin_activity_days: 14 base: header
plugin_activity_filter: all
plugin_activity_limit: 5
plugin_activity_load: 300
plugin_activity_visibility: public
plugin_introduction: yes plugin_introduction: yes
plugin_introduction_title: yes
- name: 📊 Recently used
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.languages.recent.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes 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_analysis_timeout: 15
plugin_languages_categories: markup, programming plugin_languages_categories: markup, programming
plugin_languages_colors: github plugin_languages_colors: github
plugin_languages_limit: 8
plugin_languages_recent_categories: markup, programming plugin_languages_recent_categories: markup, programming
plugin_languages_recent_days: 14 plugin_languages_recent_days: 14
plugin_languages_recent_load: 300 plugin_languages_recent_load: 300
plugin_languages_sections: most-used plugin_languages_sections: most-used
plugin_languages_threshold: 0% plugin_languages_threshold: 0%
plugin_lines: yes
- 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

Loading…
Cancel
Save