Auto-regenerate files

This commit is contained in:
github-actions[bot]
2021-06-01 23:36:46 +00:00
parent 7f08abb040
commit 7e91c4c632
2 changed files with 16 additions and 4 deletions

18
action.yml generated
View File

@@ -186,7 +186,7 @@ inputs:
# Specify one value (for both width and height) or two values (one for width and one for height)
config_padding:
description: Image padding
default: 0, 11%
default: 0, 8 + 11%
# Metrics output format
config_output:
@@ -300,6 +300,12 @@ inputs:
description: Custom languages colors
default: github
# Overrides default languages name
# Use `${language}:${alias}` to change the name of language (e.g. "javascript:JS" to make JavaScript render as "JS", case of left operand ignored)
plugin_languages_aliases:
description: Custom languages names
default: ""
# Languages additional details
plugin_languages_details:
description: Additional details
@@ -324,6 +330,7 @@ inputs:
# Filter events by age (for recently used languages statistics)
# Set to 0 to disable age filtering
# Note that metrics won't be able to load more events than GitHub is able to provide
plugin_languages_recent_days:
description: Maximum event age (for recently used section)
default: 14
@@ -472,11 +479,15 @@ inputs:
default: no
# Maximum number of issue comments to parse
# Issues will be fetched before issues comments
plugin_reactions_limit:
description: Maximum number of issue comments to parse
default: 200
# Maximum number of issues and pull requests opened to parse
plugin_reactions_limit_issues:
description: Maximum number of issues and pull requests opened to parse
default: 100
# Filter reactions by issue comments age
# Set to 0 to disable age filtering
plugin_reactions_days:
@@ -1171,7 +1182,7 @@ runs:
for INPUT in $(echo $INPUTS | jq -r 'to_entries|map("INPUT_\(.key|ascii_upcase)=\(.value|@uri)")|.[]'); do
echo $INPUT >> .env
done
env | grep -E '^(GITHUB|ACTIONS|CI)' >> .env
env | grep -E '^(GITHUB|ACTIONS|CI|TZ)' >> .env
echo "Environment variables: loaded"
# Renders output folder
@@ -1242,3 +1253,4 @@ runs:
METRICS_ACTION_PATH: ${{ github.action_path }}
METRICS_USE_PREBUILT_IMAGE: ${{ inputs.use_prebuilt_image }}
INPUTS: ${{ toJson(inputs) }}
TZ: ${{ inputs.config_timezone }}

2
settings.example.json generated
View File

@@ -13,7 +13,7 @@
"debug.headless": false, "//": "Debug puppeteer process",
"mocked": false, "//": "Use mocked data instead of live APIs (use 'force' to use mocked token even if real token are defined)",
"repositories": 100, "//": "Number of repositories to use",
"padding": ["0", "11%"], "//": "Image padding (default)",
"padding": ["0", "8 + 11%"], "//": "Image padding (default)",
"hosted": {
"by": "", "//": "Web instance host (displayed in footer)",
"link": "", "//": "Web instance host link (displayed in footer)"