13
0
Fork 0
mirror of https://github.com/dorny/paths-filter.git synced 2026-07-04 06:29:29 +00:00

feat: add write-to-files feature to deal with large change sets

This commit introduces a new input named 'write-to-files'. It enables writing
the lists of matching files to a corresponding file in addition to the output
'<filter-name>_files'. If set, the action will create the specified file with
the list of matching files. The file will be written in the format specified by
the `list-files` option and named after the filter. The path to the file will be
output as a variable named `<filter-name>_files_path`.
This commit is contained in:
Diogo Kiss 2025-08-25 18:39:18 +02:00
parent de90cc6fb3
commit 8ec3b44912
4 changed files with 91 additions and 18 deletions

View file

@ -36,6 +36,13 @@ inputs:
Backslash escapes every potentially unsafe character.
required: false
default: none
write-to-files:
description: |
Enables writing the lists of matching files to a corresponding file in addition to the output '<filter-name>_files'.
If set, the action will create the specified file with the list of matching files.
The file will be written in the format specified by the `list-files` option and named
after the filter. The path to the file will be output as a variable named `<filter-name>_files_path`.
required: false
initial-fetch-depth:
description: |
How many commits are initially fetched from base branch.