@@ -122,7 +122,7 @@ jobs:
122
122
# Example 1
123
123
- name : Get changed files
124
124
id : changed-files
125
- uses : tj-actions/changed-files@v41
125
+ uses : tj-actions/changed-files@v42
126
126
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
127
127
# with:
128
128
# since_last_remote_commit: true
@@ -138,7 +138,7 @@ jobs:
138
138
# Example 2
139
139
- name : Get all changed markdown files
140
140
id : changed-markdown-files
141
- uses : tj-actions/changed-files@v41
141
+ uses : tj-actions/changed-files@v42
142
142
with :
143
143
# Avoid using single or double quotes for multiline patterns
144
144
files : |
@@ -156,7 +156,7 @@ jobs:
156
156
# Example 3
157
157
- name : Get all test, doc and src files that have changed
158
158
id : changed-files-yaml
159
- uses : tj-actions/changed-files@v41
159
+ uses : tj-actions/changed-files@v42
160
160
with :
161
161
files_yaml : |
162
162
doc:
@@ -189,7 +189,7 @@ jobs:
189
189
# Example 3
190
190
- name : Get changed files in the docs folder
191
191
id : changed-files-specific
192
- uses : tj-actions/changed-files@v41
192
+ uses : tj-actions/changed-files@v42
193
193
with :
194
194
files : docs/*.{js,html} # Alternatively using: `docs/**`
195
195
files_ignore : docs/static.js
@@ -231,7 +231,7 @@ jobs:
231
231
steps :
232
232
- name : Get changed files
233
233
id : changed-files
234
- uses : tj-actions/changed-files@v41
234
+ uses : tj-actions/changed-files@v42
235
235
236
236
- name : List all changed files
237
237
env :
@@ -274,7 +274,7 @@ jobs:
274
274
275
275
- name : Get changed files
276
276
id : changed-files
277
- uses : tj-actions/changed-files@v41
277
+ uses : tj-actions/changed-files@v42
278
278
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
279
279
280
280
- name : List all changed files
@@ -319,7 +319,7 @@ Support this project with a :star:
319
319
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
320
320
321
321
``` yaml
322
- - uses : tj-actions/changed-files@v41
322
+ - uses : tj-actions/changed-files@v42
323
323
id : changed-files
324
324
with :
325
325
# Github API URL.
@@ -707,7 +707,7 @@ The format of the version string is as follows:
707
707
...
708
708
- name : Get changed files
709
709
id : changed-files
710
- uses : tj-actions/changed-files@v41
710
+ uses : tj-actions/changed-files@v42
711
711
...
712
712
```
713
713
@@ -720,7 +720,7 @@ The format of the version string is as follows:
720
720
...
721
721
- name : Get changed files
722
722
id : changed-files
723
- uses : tj-actions/changed-files@v41
723
+ uses : tj-actions/changed-files@v42
724
724
with :
725
725
safe_output : false # set to false because we are using an environment variable to store the output and avoid command injection.
726
726
@@ -743,7 +743,7 @@ The format of the version string is as follows:
743
743
...
744
744
- name : Get all changed files and use a comma separator in the output
745
745
id : changed-files
746
- uses : tj-actions/changed-files@v41
746
+ uses : tj-actions/changed-files@v42
747
747
with :
748
748
separator : " ,"
749
749
...
@@ -760,7 +760,7 @@ See [inputs](#inputs) for more information.
760
760
...
761
761
- name : Get changed files
762
762
id : changed-files
763
- uses : tj-actions/changed-files@v41
763
+ uses : tj-actions/changed-files@v42
764
764
765
765
- name : List all added files
766
766
env :
@@ -783,7 +783,7 @@ See [outputs](#outputs) for a list of all available outputs.
783
783
...
784
784
- name : Get changed files
785
785
id : changed-files
786
- uses : tj-actions/changed-files@v41
786
+ uses : tj-actions/changed-files@v42
787
787
788
788
- name : Run a step if my-file.txt was modified
789
789
if : contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -804,7 +804,7 @@ See [outputs](#outputs) for a list of all available outputs.
804
804
805
805
- name : Get changed files and write the outputs to a Txt file
806
806
id : changed-files-write-output-files-txt
807
- uses : tj-actions/changed-files@v41
807
+ uses : tj-actions/changed-files@v42
808
808
with :
809
809
write_output_files : true
810
810
@@ -823,7 +823,7 @@ See [outputs](#outputs) for a list of all available outputs.
823
823
...
824
824
- name : Get changed files and write the outputs to a JSON file
825
825
id : changed-files-write-output-files-json
826
- uses : tj-actions/changed-files@v41
826
+ uses : tj-actions/changed-files@v42
827
827
with :
828
828
json : true
829
829
write_output_files : true
@@ -843,7 +843,7 @@ See [outputs](#outputs) for a list of all available outputs.
843
843
...
844
844
- name : Get changed files
845
845
id : changed-files
846
- uses : tj-actions/changed-files@v41
846
+ uses : tj-actions/changed-files@v42
847
847
with :
848
848
files : |
849
849
my-file.txt
@@ -866,7 +866,7 @@ See [inputs](#inputs) for more information.
866
866
...
867
867
- name : Get changed files
868
868
id : changed-files-specific
869
- uses : tj-actions/changed-files@v41
869
+ uses : tj-actions/changed-files@v42
870
870
with :
871
871
files : |
872
872
my-file.txt
@@ -917,7 +917,7 @@ See [outputs](#outputs) for a list of all available outputs.
917
917
...
918
918
- name : Get changed files using a source file or list of file(s) to populate to files input.
919
919
id : changed-files-specific-source-file
920
- uses : tj-actions/changed-files@v41
920
+ uses : tj-actions/changed-files@v42
921
921
with :
922
922
files_from_source_file : test/changed-files-list.txt
923
923
...
@@ -934,7 +934,7 @@ See [inputs](#inputs) for more information.
934
934
...
935
935
- name : Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
936
936
id : changed-files-specific-source-file-and-specify-files
937
- uses : tj-actions/changed-files@v41
937
+ uses : tj-actions/changed-files@v42
938
938
with :
939
939
files_from_source_file : |
940
940
test/changed-files-list.txt
@@ -955,7 +955,7 @@ See [inputs](#inputs) for more information.
955
955
...
956
956
- name : Get changed files using a different SHA
957
957
id : changed-files
958
- uses : tj-actions/changed-files@v41
958
+ uses : tj-actions/changed-files@v42
959
959
with :
960
960
sha : ${{ github.event.pull_request.head.sha }}
961
961
...
@@ -972,7 +972,7 @@ See [inputs](#inputs) for more information.
972
972
...
973
973
- name : Get changed files using a different base SHA
974
974
id : changed-files
975
- uses : tj-actions/changed-files@v41
975
+ uses : tj-actions/changed-files@v42
976
976
with :
977
977
base_sha : ${{ github.event.pull_request.base.sha }}
978
978
...
@@ -1004,11 +1004,11 @@ jobs:
1004
1004
1005
1005
- name : Get changed files
1006
1006
id : changed-files
1007
- uses : tj-actions/changed-files@v41
1007
+ uses : tj-actions/changed-files@v42
1008
1008
1009
1009
- name : Get changed files in the .github folder
1010
1010
id : changed-files-specific
1011
- uses : tj-actions/changed-files@v41
1011
+ uses : tj-actions/changed-files@v42
1012
1012
with :
1013
1013
base_sha : ${{ steps.get-base-sha.outputs.base_sha }}
1014
1014
files : .github/**
@@ -1040,7 +1040,7 @@ See [inputs](#inputs) for more information.
1040
1040
1041
1041
- name : Run changed-files with defaults in dir1
1042
1042
id : changed-files-for-dir1
1043
- uses : tj-actions/changed-files@v41
1043
+ uses : tj-actions/changed-files@v42
1044
1044
with :
1045
1045
path : dir1
1046
1046
@@ -1066,13 +1066,13 @@ See [inputs](#inputs) for more information.
1066
1066
...
1067
1067
- name : Run changed-files with quotepath disabled
1068
1068
id : changed-files-quotepath
1069
- uses : tj-actions/changed-files@v41
1069
+ uses : tj-actions/changed-files@v42
1070
1070
with :
1071
1071
quotepath : " false"
1072
1072
1073
1073
- name : Run changed-files with quotepath disabled for a specified list of file(s)
1074
1074
id : changed-files-quotepath-specific
1075
- uses : tj-actions/changed-files@v41
1075
+ uses : tj-actions/changed-files@v42
1076
1076
with :
1077
1077
files : test/test-è.txt
1078
1078
quotepath : " false"
@@ -1105,7 +1105,7 @@ See [inputs](#inputs) for more information.
1105
1105
1106
1106
- name : Run changed-files with the commit of the last successful test workflow run
1107
1107
id : changed-files-base-sha-push
1108
- uses : tj-actions/changed-files@v41
1108
+ uses : tj-actions/changed-files@v42
1109
1109
with :
1110
1110
base_sha : ${{ steps.last_successful_commit_push.outputs.base }}
1111
1111
...
@@ -1132,7 +1132,7 @@ See [inputs](#inputs) for more information.
1132
1132
1133
1133
- name : Run changed-files with the commit of the last successful test workflow run on the main branch
1134
1134
id : changed-files-base-sha-pull-request
1135
- uses : tj-actions/changed-files@v41
1135
+ uses : tj-actions/changed-files@v42
1136
1136
with :
1137
1137
base_sha : ${{ steps.last_successful_commit_pull_request.outputs.base }}
1138
1138
...
@@ -1158,7 +1158,7 @@ See [inputs](#inputs) for more information.
1158
1158
...
1159
1159
- name : Run changed-files with dir_names
1160
1160
id : changed-files-dir-names
1161
- uses : tj-actions/changed-files@v41
1161
+ uses : tj-actions/changed-files@v42
1162
1162
with :
1163
1163
dir_names : " true"
1164
1164
...
@@ -1175,7 +1175,7 @@ See [inputs](#inputs) for more information.
1175
1175
...
1176
1176
- name : Run changed-files with JSON output
1177
1177
id : changed-files-json
1178
- uses : tj-actions/changed-files@v41
1178
+ uses : tj-actions/changed-files@v42
1179
1179
with :
1180
1180
json : " true"
1181
1181
...
@@ -1192,13 +1192,13 @@ See [inputs](#inputs) for more information.
1192
1192
...
1193
1193
- name : Get changed-files since 2022-08-19
1194
1194
id : changed-files-since
1195
- uses : tj-actions/changed-files@v41
1195
+ uses : tj-actions/changed-files@v42
1196
1196
with :
1197
1197
since : " 2022-08-19"
1198
1198
1199
1199
- name : Get changed-files until 2022-08-20
1200
1200
id : changed-files-until
1201
- uses : tj-actions/changed-files@v41
1201
+ uses : tj-actions/changed-files@v42
1202
1202
with :
1203
1203
until : " 2022-08-20"
1204
1204
...
0 commit comments