Skip to content

Commit ab574fa

Browse files
committed
fix: switch back default
1 parent cca214c commit ab574fa

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

action.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ inputs:
1212
default: ${{ github.base_ref }}
1313
command:
1414
required: false
15-
description: 'The command to run to get the file changes can contain {globs} and
16-
{branchName} to specify replacements. {globs} uses glob-template to prepare the globs before replacement.'
15+
description: 'The command to run to get the file changes can contain {globs} and {branchName} to specify replacements. {globs} uses glob-template to prepare the globs before replacement.'
1716
default: 'git diff --name-status --no-renames {branchName} -- {globs}'
1817
glob-template:
1918
required: false
@@ -22,24 +21,15 @@ inputs:
2221
filter-patterns:
2322
required: false
2423
description: >-
25-
A map with keys ADDED, CHANGED, and DELETED as keys and a pattern as a value.
26-
The matching is done by checking if the file change starts with the pattern.
24+
A map with keys ADDED, CHANGED, and DELETED as keys and a pattern as a value. The matching is done by checking if the file change starts with the pattern.
2725
default: |
28-
ADDED: A\t
29-
CHANGED: M\t
30-
DELETED: D\t
26+
ADDED: "A\t"
27+
CHANGED: "M\t"
28+
DELETED: "D\t"
3129
change-map:
3230
required: true
3331
description: >-
34-
A multi-line map of changes to find. Each input in the change-map has two (or three with separateDeleted set to true)
35-
corresponding outputs.
36-
For a given key in change-map `code` there will be outputs `code`, a list of all the changed files, `any-code`,
37-
a boolean indicating if there were any changes that matched the glob filters, and `deleted-code` if `separateDeleted` is true.
38-
eg. python_files: {"globs": "*.py", "separateDeleted": false}
39-
requirements: {"globs": "requirements/*.txt"}
40-
py_and_requirements: {"globs": ["requirements/*.txt", "*.py"]}
41-
The separateDeleted boolean determines if we separate out deleted files or if they're included in the change list.
42-
32+
A multi-line map of changes to find. Each input in the change-map has two (or three with separateDeleted set to true) corresponding outputs. For a given key in change-map `code` there will be outputs `code`, a list of all the changed files, `any-code`, a boolean indicating if there were any changes that matched the glob filters, and `deleted-code` if `separateDeleted` is true. eg. python_files: {"globs": "*.py", "separateDeleted": false} requirements: {"globs": "requirements/*.txt"} py_and_requirements: {"globs": ["requirements/*.txt", "*.py"]} The separateDeleted boolean determines if we separate out deleted files or if they're included in the change list. #magic___^_^___line
4333
outputs:
4434
any-matches:
4535
description: 'A boolean value indicating if any glob matches were found'

0 commit comments

Comments
 (0)