You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+6-16Lines changed: 6 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,7 @@ inputs:
12
12
default: ${{ github.base_ref }}
13
13
command:
14
14
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.'
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.
27
25
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"
31
29
change-map:
32
30
required: true
33
31
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.
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
43
33
outputs:
44
34
any-matches:
45
35
description: 'A boolean value indicating if any glob matches were found'
0 commit comments