mirror of
https://github.com/domfelipe/domfelipe.git
synced 2026-08-07 08:36:42 +00:00
fix: add write permissions and simplify config
This commit is contained in:
parent
7d3e36e4b5
commit
76340e9745
1 changed files with 11 additions and 48 deletions
59
.github/workflows/metrics.yml
vendored
59
.github/workflows/metrics.yml
vendored
|
|
@ -4,9 +4,9 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches:
|
permissions:
|
||||||
- main
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
metrics:
|
metrics:
|
||||||
|
|
@ -16,65 +16,28 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.METRICS_TOKEN }}
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
|
||||||
plugin_base: yes
|
|
||||||
plugin_base_separator: " "
|
|
||||||
|
|
||||||
plugin_activity: yes
|
|
||||||
plugin_activity_limit: 7
|
|
||||||
plugin_activity_load: 300
|
|
||||||
plugin_activity_visibility: public
|
|
||||||
plugin_activity_sections: contributions,commits
|
|
||||||
|
|
||||||
plugin_languages: yes
|
|
||||||
plugin_languages_colors: '#4584b6,#ffdf5d,#616163,#4e8e4e,#356862,#e38844'
|
|
||||||
plugin_languages_limit: 5
|
|
||||||
plugin_languages_use_language: yes
|
|
||||||
plugin_languages_transition: no
|
|
||||||
|
|
||||||
plugin_streak: yes
|
|
||||||
plugin_streak_days: 60
|
|
||||||
plugin_streak_lines: 3
|
|
||||||
plugin_streak_total: yes
|
|
||||||
|
|
||||||
plugin_views: yes
|
|
||||||
plugin_views_days: 14
|
|
||||||
plugin_views_color: 'F75132'
|
|
||||||
plugin_views_style: 'flat'
|
|
||||||
|
|
||||||
plugin_achievements: yes
|
|
||||||
plugin_achievements_mode: shared
|
|
||||||
plugin_achievements_threshold: '0,1,7,14,31,93,365,730,1095'
|
|
||||||
|
|
||||||
plugin_isocalendar: yes
|
plugin_isocalendar: yes
|
||||||
plugin_isocalendar_limit: 52
|
plugin_isocalendar_limit: 52
|
||||||
plugin_isocalendar_sections: commits,issues,prs,reviews,stars,forks,clones,views
|
plugin_isocalendar_sections: commits,issues,prs,reviews,stars,forks,clones,views
|
||||||
|
|
||||||
plugin_posts: no
|
plugin_languages: yes
|
||||||
plugin_rss: no
|
plugin_languages_limit: 5
|
||||||
|
plugin_languages_colors: '#4584b6,#ffdf5d,#616163,#4e8e4e,#356862,#e38844'
|
||||||
|
|
||||||
|
plugin_achievements: no
|
||||||
|
plugin_activity: no
|
||||||
|
|
||||||
output_format: markdown
|
|
||||||
use_template: yes
|
use_template: yes
|
||||||
output_file: README.md
|
template: classic
|
||||||
|
|
||||||
base_color: '1a1b26'
|
base_color: '1a1b26'
|
||||||
base_theme: high-contrast
|
base_theme: high-contrast
|
||||||
|
|
||||||
text_color: 'FAFAFA'
|
text_color: 'FAFAFA'
|
||||||
text_brightness: '0'
|
|
||||||
|
|
||||||
label_color: '66D9EF'
|
label_color: '66D9EF'
|
||||||
label_brightness: '0'
|
|
||||||
|
|
||||||
badge_color: 'A6E22E'
|
badge_color: 'A6E22E'
|
||||||
badge_brightness: '0'
|
|
||||||
|
|
||||||
icon_color: 'E6DB74'
|
icon_color: 'E6DB74'
|
||||||
icon_brightness: '0'
|
|
||||||
|
|
||||||
animations: yes
|
animations: yes
|
||||||
animations_steps: 80
|
|
||||||
animations_speed: 1.5
|
|
||||||
|
|
||||||
base: ''
|
output_action: commit
|
||||||
plugin_base_path: ''
|
|
||||||
plugin_achievements_path: ''
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue