mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Collect and report number of changes
This commit is contained in:
parent
de90cc6fb3
commit
28cec18b46
11 changed files with 374 additions and 169 deletions
14
action.yml
14
action.yml
|
@ -1,6 +1,6 @@
|
|||
name: 'Paths Changes Filter'
|
||||
name: 'Paths Changes Filter And Diff Stat'
|
||||
description: 'Execute your workflow steps only if relevant files are modified.'
|
||||
author: 'Michal Dorner <dorner.michal@gmail.com>'
|
||||
author: 'Michal Dorner <dorner.michal@gmail.com>, Boris Lykah<lykahb@gmail.com>'
|
||||
inputs:
|
||||
token:
|
||||
description: 'GitHub Access Token'
|
||||
|
@ -36,6 +36,16 @@ inputs:
|
|||
Backslash escapes every potentially unsafe character.
|
||||
required: false
|
||||
default: none
|
||||
stat:
|
||||
description: |
|
||||
Enables listing of that enables output of the file change statistics per filter, similar to `git diff --shortstat`.
|
||||
If some changes do not match any filter, the output includes an additional entry with the filter name 'other'.
|
||||
'none' - Disables listing of stats (default).
|
||||
'csv' - Coma separated list that has name of filter, count of additions, count of deletions, count of changed files.
|
||||
If needed it uses double quotes to wrap name of filter with unsafe characters. For example, `"some filter",12,7,2`.
|
||||
'json' - Serialized as JSON object where the filter names are keys. For example, `{"some filter": {"additionCount": 12, "deletionCount": 7, "fileCount": 2}}`
|
||||
required: false
|
||||
default: none
|
||||
initial-fetch-depth:
|
||||
description: |
|
||||
How many commits are initially fetched from base branch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue