31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
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
|
|
committer_token:
|
|
description: If provided, this token will be used instead of "token" for commit operations. You can specify a bot account to avoid virtually increasing your stats due to this action commits.
|
|
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 |