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} \