From 73e11d7a09cafd131f002edd55da867087cac633 Mon Sep 17 00:00:00 2001 From: Norbert Bartko Date: Tue, 2 Mar 2021 10:01:34 +0000 Subject: [PATCH] add 'file-filter' parameter (#5) --- action.yml | 4 ++++ gource.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/action.yml b/action.yml index bab8ed0..8f9ac04 100644 --- a/action.yml +++ b/action.yml @@ -95,6 +95,10 @@ inputs: description: 'Stop after the last entry prior to the supplied date and optional time.' default: '' required: false + gource_file_filter: + description: 'Filter out file paths matching the specified regular expression.' + default: '' + required: false runs: using: 'docker' diff --git a/gource.sh b/gource.sh index 50573e0..e9cac74 100644 --- a/gource.sh +++ b/gource.sh @@ -85,6 +85,7 @@ gource --seconds-per-day ${INPUT_GOURCE_SECONDS_PER_DAY} \ --font-size ${INPUT_GOURCE_FONT_SIZE} \ --dir-name-depth ${INPUT_GOURCE_DIR_DEPTH} \ --filename-time ${INPUT_GOURCE_FILENAME_TIME} \ + --file-filter ${INPUT_GOURCE_FILE_FILTER} \ --max-user-speed ${INPUT_GOURCE_MAX_USER_SPEED} \ --bloom-multiplier 1.2 \ --${GOURCE_RES} ${OPTIONAL_PARAMS} \