Fix svg height, add conversion options and options to use differents data from GitHub account (#35)
* Display all features on web instance but disable them when they're not enabled * Resize dynamically SVG output and add support to convert images to jpeg/png * Disable animations when computing height * Add option to disable animations * Add options to specify different data from used GitHub account * Update tests
This commit is contained in:
34
action.yml
34
action.yml
@@ -38,6 +38,20 @@ inputs:
|
||||
description: Timezone used by metrics
|
||||
default: ""
|
||||
|
||||
# Specify output type
|
||||
# Supported values are :
|
||||
# - svg (support animations and transparency)
|
||||
# - png (support transparency)
|
||||
# - jpeg
|
||||
config_output:
|
||||
description: Output image type
|
||||
default: svg
|
||||
|
||||
# Enable or disable SVG animations
|
||||
config_animations:
|
||||
description: Enable or disable SVG animations
|
||||
default: yes
|
||||
|
||||
# Number of repositories to use for metrics
|
||||
# A high number increase metrics accuracy, but will consume additional API requests when using plugins
|
||||
repositories:
|
||||
@@ -71,11 +85,17 @@ inputs:
|
||||
default: "header, activity, community, repositories, metadata"
|
||||
|
||||
# Google PageSpeed plugin
|
||||
# Enable it to compute the performance for the website attached to "user"
|
||||
# Enable it to compute the performance of provided website
|
||||
plugin_pagespeed:
|
||||
description: Enable Google PageSpeed metrics for user's website
|
||||
default: no
|
||||
|
||||
# Website to audit with PageSpeed
|
||||
# Leave empty to default to the website attached to "user"'s GitHub account
|
||||
plugin_pagespeed_url:
|
||||
description: Website to audit with PageSpeed
|
||||
default: ""
|
||||
|
||||
# Display additional PageSpeed audit metrics
|
||||
# The following are displayed :
|
||||
# First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time, Cumulative Layout Shift
|
||||
@@ -217,6 +237,12 @@ inputs:
|
||||
description: Posts external source
|
||||
default: ""
|
||||
|
||||
# Posts source username
|
||||
# Leave empty to default to the login "user"'s GitHub account
|
||||
plugin_posts_user:
|
||||
description: Posts external source username
|
||||
default: ""
|
||||
|
||||
# Number of posts to display
|
||||
plugin_posts_limit:
|
||||
description: Number of posts to display
|
||||
@@ -297,6 +323,12 @@ inputs:
|
||||
description: Display recent tweets
|
||||
default: no
|
||||
|
||||
# Twitter username
|
||||
# Leave empty to default to the twitter account attached to "user"'s GitHub account
|
||||
plugin_tweets_user:
|
||||
description: Twitter username
|
||||
default: ""
|
||||
|
||||
# Tweets API token (required when tweets plugin is enabled)
|
||||
# See https://apps.twitter.com for more informations
|
||||
plugin_tweets_token:
|
||||
|
||||
Reference in New Issue
Block a user