-
Notifications
You must be signed in to change notification settings - Fork 89
40 lines (39 loc) · 1.09 KB
/
main.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
name: Build metrics
on:
schedule:
- cron: '0 */1 * * *'
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
name: generate repo metrics
runs-on: ubuntu-latest
steps:
- name: Get the sources
uses: actions/checkout@v2
- name: Metrics contributors
uses: lowlighter/metrics@latest
with:
template: repository
base: ""
committer_branch: gh-pages
filename: metrics.repository.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: magicblock-labs
repo: Solana.Unity-SDK
plugin_contributors: yes
plugin_contributors_contributions: yes
- name: Stargazers, Watchers
uses: lowlighter/metrics@latest
with:
template: repository
base: ""
committer_branch: gh-pages
filename: people.repository.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: magicblock-labs
repo: Solana.Unity-SDK
plugin_people: yes
plugin_people_types: stargazers, watchers