-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (51 loc) · 1.38 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
44
45
46
47
48
49
50
51
name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "0 */6 * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
org:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: pot-app-metrics.svg
token: ${{ secrets.TOKEN }}
config_timezone: Asia/Shanghai
repositories_skipped: .github
user: pot-app
pot-desktop-contributions:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: pot-desktop-contributions.svg
token: ${{ secrets.TOKEN }}
base: ""
template: repository
user: pot-app
repo: pot-desktop
plugin_contributors: yes
plugin_contributors_contributions: yes
pot-desktop-stars:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: pot-desktop-stars.svg
token: ${{ secrets.TOKEN }}
base: ""
template: repository
user: pot-app
repo: pot-desktop
plugin_stargazers: yes
plugin_stargazers_charts_type: graph