generated from MeilCli/action-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (36 loc) · 1.13 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
name: Metrics
on:
push: { branches: ['master', 'main'] }
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
filename: metrics_contributors.svg
repo: common-lint-reporter
template: repository
base: ''
output_action: gist
committer_gist: ${{ secrets.METRICS_GIST }}
plugin_contributors: yes
plugin_contributors_sections: contributors,categories
plugin_contributors_categories: |
{
"📚 Documentation":["**/*.md"],
"💻 Code":["**/*.ts"]
}
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
filename: metrics_licenses.svg
repo: common-lint-reporter
template: repository
base: ''
output_action: gist
committer_gist: ${{ secrets.METRICS_GIST }}
plugin_licenses: yes
plugin_licenses_setup: npm ci
plugin_licenses_ratio: yes
plugin_licenses_legal: yes