-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (50 loc) · 1.63 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
name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "0 0 * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
template: repository
user: lryanle
repo: seniordesign
config_timezone: US/Central
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
plugin_lines: yes
plugin_followup: yes
plugin_projects: yes
plugin_projects_repositories: lryanle/seniordesign/projects/2
- uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://smare.lryanle.com
- uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_screenshot: yes
plugin_screenshot_title: SMARE Site
plugin_screenshot_url: https://smare.lryanle.com
# - uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.contributors.contributions.svg
# token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
# base: ""
# template: repository
# repo: metrics
# plugin_contributors: yes
# plugin_contributors_contributions: yes