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

111
.github/workflow.yml vendored

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

Loading…
Cancel
Save