-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
action.yml
29 lines (29 loc) 路 1.02 KB
/
action.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
name: GitHub metrics as SVG image
author: lowlighter
description: Generate an user's GitHub metrics as SVG image format to embed somewhere else
branding:
icon: user-check
color: gray-dark
inputs:
token:
description: GitHub Personal Token (require "public_repo" permissions)
required: true
user:
description: Target GitHub username
required: true
filename:
description: Name of SVG image output
default: github-metrics.svg
plugin_pagespeed:
description: Enable Pagespeed metrics for user's website (requires "pagespeed_token" to be provided)
pagespeed_token:
description: Pagespeed Personal Token (optional, see https://developers.google.com/speed/docs/insights/v5/get-started for more information)
plugin_lines:
description: Enable repositories lines metrics
plugin_traffic:
description: Enable repositories traffic metrics (due to GitHub API limitations, "token" must have "repo" permissions)
debug:
description: Enable debug logs
runs:
using: node12
main: action/dist/index.js