Skip to content

Commit f3c5e3d

Browse files
committed
add metrics workflow
1 parent a5e7956 commit f3c5e3d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/metrics.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Metrics
2+
on:
3+
schedule: [{ cron: "0 0 * * *" }] # запускается каждый день в полночь
4+
workflow_dispatch: # разрешает ручной запуск
5+
6+
jobs:
7+
github-metrics:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: lowlighter/metrics@latest
11+
with:
12+
filename: metrics.plugin.activity.svg
13+
token: ${{ secrets.METRICS_TOKEN }}
14+
base: ""
15+
plugin_activity: yes
16+
plugin_activity_limit: 5
17+
plugin_activity_days: 0
18+
plugin_activity_filter: issue, pr, release, fork, review, ref/create

0 commit comments

Comments
 (0)