-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (42 loc) · 1.5 KB
/
metrics.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "30 5,17 * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# - repo
# 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: VGalaxies
template: classic
base: header, activity, community, repositories
config_timezone: Asia/Shanghai
plugin_habits: yes
plugin_habits_days: 14
plugin_habits_facts: yes
plugin_habits_from: 200
plugin_isocalendar: yes
plugin_isocalendar_duration: half-year
plugin_lines: yes
plugin_rss: yes
plugin_rss_limit: 8
plugin_rss_source: https://vgalaxies-blog.vercel.app/rss.xml
plugin_traffic: yes