From 7e91c4c632cae570fed8a64425d9b55d53ad90ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Jun 2021 23:36:46 +0000 Subject: [PATCH] Auto-regenerate files --- action.yml | 18 +++++++++++++++--- settings.example.json | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 03be2d08..6b8eb2e9 100644 --- a/action.yml +++ b/action.yml @@ -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 }} diff --git a/settings.example.json b/settings.example.json index d91ac93a..5fc0295f 100644 --- a/settings.example.json +++ b/settings.example.json @@ -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)"