Files
metrics/action.yml
lowlighter 9bd7da1740 Full plugins and server redesign
- Languages, issues and pr are now plugins (but enabled by default for retro-compatibility)
- Query parameters are now parsed correctly
- Redesigned server index with vue.js
2020-10-20 21:56:05 +02:00

55 lines
1.8 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
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)
default: ""
user:
description: GitHub username
default: ""
filename:
description: Name of SVG image output
default: github-metrics.svg
template:
description: Template to use
default: classic
optimize:
description: Optimize SVG image
default: yes
plugin_pagespeed:
description: Enable Google PageSpeed metrics for account attached website
default: no
pagespeed_token:
description: Google Pagespeed Personal Token (*see https://developers.google.com/speed/docs/insights/v5/get-started for more informations)
default: ""
plugin_lines:
description: Enable lines of code metrics
default: no
plugin_traffic:
description: Enable repositories traffic metrics (*provided GitHub token require full "repo" permissions)
default: no
plugin_habits:
description: Enable coding habits metrics
default: no
plugin_selfskip:
description: Skip commits flagged with [Skip GitHub Action] from commits count
default: no
plugin_languages:
description: Enable most used languages metrics
default: yes
plugin_followup:
description: Enable owned repositories issues and pull requests metrics
default: yes
debug:
description: Enable debug logs
default: no
runs:
using: node12
main: action/dist/index.js