@@ -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@v40
125
+ uses : tj-actions/changed-files@v41
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@v40
141
+ uses : tj-actions/changed-files@v41
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@v40
159
+ uses : tj-actions/changed-files@v41
160
160
with :
161
161
files_yaml : |
162
162
doc:
@@ -190,7 +190,7 @@ jobs:
190
190
# Example 3
191
191
- name : Get changed files in the docs folder
192
192
id : changed-files-specific
193
- uses : tj-actions/changed-files@v40
193
+ uses : tj-actions/changed-files@v41
194
194
with :
195
195
files : docs/*.{js,html} # Alternatively using: `docs/**`
196
196
files_ignore : docs/static.js
@@ -232,7 +232,7 @@ jobs:
232
232
steps :
233
233
- name : Get changed files
234
234
id : changed-files
235
- uses : tj-actions/changed-files@v40
235
+ uses : tj-actions/changed-files@v41
236
236
237
237
- name : List all changed files
238
238
env :
@@ -275,7 +275,7 @@ jobs:
275
275
276
276
- name : Get changed files
277
277
id : changed-files
278
- uses : tj-actions/changed-files@v40
278
+ uses : tj-actions/changed-files@v41
279
279
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
280
280
281
281
- name : List all changed files
@@ -320,7 +320,7 @@ Support this project with a :star:
320
320
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
321
321
322
322
``` yaml
323
- - uses : tj-actions/changed-files@v40
323
+ - uses : tj-actions/changed-files@v41
324
324
id : changed-files
325
325
with :
326
326
# Github API URL.
@@ -702,7 +702,7 @@ The format of the version string is as follows:
702
702
...
703
703
- name : Get changed files
704
704
id : changed-files
705
- uses : tj-actions/changed-files@v40
705
+ uses : tj-actions/changed-files@v41
706
706
...
707
707
```
708
708
@@ -715,7 +715,7 @@ The format of the version string is as follows:
715
715
...
716
716
- name : Get changed files
717
717
id : changed-files
718
- uses : tj-actions/changed-files@v40
718
+ uses : tj-actions/changed-files@v41
719
719
with :
720
720
safe_output : false # set to false because we are using an environment variable to store the output and avoid command injection.
721
721
@@ -738,7 +738,7 @@ The format of the version string is as follows:
738
738
...
739
739
- name : Get all changed files and use a comma separator in the output
740
740
id : changed-files
741
- uses : tj-actions/changed-files@v40
741
+ uses : tj-actions/changed-files@v41
742
742
with :
743
743
separator : " ,"
744
744
...
@@ -755,7 +755,7 @@ See [inputs](#inputs) for more information.
755
755
...
756
756
- name : Get changed files
757
757
id : changed-files
758
- uses : tj-actions/changed-files@v40
758
+ uses : tj-actions/changed-files@v41
759
759
760
760
- name : List all added files
761
761
env :
@@ -778,7 +778,7 @@ See [outputs](#outputs) for a list of all available outputs.
778
778
...
779
779
- name : Get changed files
780
780
id : changed-files
781
- uses : tj-actions/changed-files@v40
781
+ uses : tj-actions/changed-files@v41
782
782
783
783
- name : Run a step if my-file.txt was modified
784
784
if : contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -799,7 +799,7 @@ See [outputs](#outputs) for a list of all available outputs.
799
799
800
800
- name : Get changed files and write the outputs to a Txt file
801
801
id : changed-files-write-output-files-txt
802
- uses : tj-actions/changed-files@v40
802
+ uses : tj-actions/changed-files@v41
803
803
with :
804
804
write_output_files : true
805
805
@@ -818,7 +818,7 @@ See [outputs](#outputs) for a list of all available outputs.
818
818
...
819
819
- name : Get changed files and write the outputs to a JSON file
820
820
id : changed-files-write-output-files-json
821
- uses : tj-actions/changed-files@v40
821
+ uses : tj-actions/changed-files@v41
822
822
with :
823
823
json : true
824
824
write_output_files : true
@@ -838,7 +838,7 @@ See [outputs](#outputs) for a list of all available outputs.
838
838
...
839
839
- name : Get changed files
840
840
id : changed-files
841
- uses : tj-actions/changed-files@v40
841
+ uses : tj-actions/changed-files@v41
842
842
with :
843
843
files : |
844
844
my-file.txt
@@ -861,7 +861,7 @@ See [inputs](#inputs) for more information.
861
861
...
862
862
- name : Get changed files
863
863
id : changed-files-specific
864
- uses : tj-actions/changed-files@v40
864
+ uses : tj-actions/changed-files@v41
865
865
with :
866
866
files : |
867
867
my-file.txt
@@ -912,7 +912,7 @@ See [outputs](#outputs) for a list of all available outputs.
912
912
...
913
913
- name : Get changed files using a source file or list of file(s) to populate to files input.
914
914
id : changed-files-specific-source-file
915
- uses : tj-actions/changed-files@v40
915
+ uses : tj-actions/changed-files@v41
916
916
with :
917
917
files_from_source_file : test/changed-files-list.txt
918
918
...
@@ -929,7 +929,7 @@ See [inputs](#inputs) for more information.
929
929
...
930
930
- name : Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
931
931
id : changed-files-specific-source-file-and-specify-files
932
- uses : tj-actions/changed-files@v40
932
+ uses : tj-actions/changed-files@v41
933
933
with :
934
934
files_from_source_file : |
935
935
test/changed-files-list.txt
@@ -950,7 +950,7 @@ See [inputs](#inputs) for more information.
950
950
...
951
951
- name : Get changed files using a different SHA
952
952
id : changed-files
953
- uses : tj-actions/changed-files@v40
953
+ uses : tj-actions/changed-files@v41
954
954
with :
955
955
sha : ${{ github.event.pull_request.head.sha }}
956
956
...
@@ -967,7 +967,7 @@ See [inputs](#inputs) for more information.
967
967
...
968
968
- name : Get changed files using a different base SHA
969
969
id : changed-files
970
- uses : tj-actions/changed-files@v40
970
+ uses : tj-actions/changed-files@v41
971
971
with :
972
972
base_sha : ${{ github.event.pull_request.base.sha }}
973
973
...
@@ -999,11 +999,11 @@ jobs:
999
999
1000
1000
- name : Get changed files
1001
1001
id : changed-files
1002
- uses : tj-actions/changed-files@v40
1002
+ uses : tj-actions/changed-files@v41
1003
1003
1004
1004
- name : Get changed files in the .github folder
1005
1005
id : changed-files-specific
1006
- uses : tj-actions/changed-files@v40
1006
+ uses : tj-actions/changed-files@v41
1007
1007
with :
1008
1008
base_sha : ${{ steps.get-base-sha.outputs.base_sha }}
1009
1009
files : .github/**
@@ -1035,7 +1035,7 @@ See [inputs](#inputs) for more information.
1035
1035
1036
1036
- name : Run changed-files with defaults in dir1
1037
1037
id : changed-files-for-dir1
1038
- uses : tj-actions/changed-files@v40
1038
+ uses : tj-actions/changed-files@v41
1039
1039
with :
1040
1040
path : dir1
1041
1041
@@ -1061,13 +1061,13 @@ See [inputs](#inputs) for more information.
1061
1061
...
1062
1062
- name : Run changed-files with quotepath disabled
1063
1063
id : changed-files-quotepath
1064
- uses : tj-actions/changed-files@v40
1064
+ uses : tj-actions/changed-files@v41
1065
1065
with :
1066
1066
quotepath : " false"
1067
1067
1068
1068
- name : Run changed-files with quotepath disabled for a specified list of file(s)
1069
1069
id : changed-files-quotepath-specific
1070
- uses : tj-actions/changed-files@v40
1070
+ uses : tj-actions/changed-files@v41
1071
1071
with :
1072
1072
files : test/test-è.txt
1073
1073
quotepath : " false"
@@ -1100,7 +1100,7 @@ See [inputs](#inputs) for more information.
1100
1100
1101
1101
- name : Run changed-files with the commit of the last successful test workflow run
1102
1102
id : changed-files-base-sha-push
1103
- uses : tj-actions/changed-files@v40
1103
+ uses : tj-actions/changed-files@v41
1104
1104
with :
1105
1105
base_sha : ${{ steps.last_successful_commit_push.outputs.base }}
1106
1106
...
@@ -1127,7 +1127,7 @@ See [inputs](#inputs) for more information.
1127
1127
1128
1128
- name : Run changed-files with the commit of the last successful test workflow run on the main branch
1129
1129
id : changed-files-base-sha-pull-request
1130
- uses : tj-actions/changed-files@v40
1130
+ uses : tj-actions/changed-files@v41
1131
1131
with :
1132
1132
base_sha : ${{ steps.last_successful_commit_pull_request.outputs.base }}
1133
1133
...
@@ -1153,7 +1153,7 @@ See [inputs](#inputs) for more information.
1153
1153
...
1154
1154
- name : Run changed-files with dir_names
1155
1155
id : changed-files-dir-names
1156
- uses : tj-actions/changed-files@v40
1156
+ uses : tj-actions/changed-files@v41
1157
1157
with :
1158
1158
dir_names : " true"
1159
1159
...
@@ -1170,7 +1170,7 @@ See [inputs](#inputs) for more information.
1170
1170
...
1171
1171
- name : Run changed-files with JSON output
1172
1172
id : changed-files-json
1173
- uses : tj-actions/changed-files@v40
1173
+ uses : tj-actions/changed-files@v41
1174
1174
with :
1175
1175
json : " true"
1176
1176
...
@@ -1187,13 +1187,13 @@ See [inputs](#inputs) for more information.
1187
1187
...
1188
1188
- name : Get changed-files since 2022-08-19
1189
1189
id : changed-files-since
1190
- uses : tj-actions/changed-files@v40
1190
+ uses : tj-actions/changed-files@v41
1191
1191
with :
1192
1192
since : " 2022-08-19"
1193
1193
1194
1194
- name : Get changed-files until 2022-08-20
1195
1195
id : changed-files-until
1196
- uses : tj-actions/changed-files@v40
1196
+ uses : tj-actions/changed-files@v41
1197
1197
with :
1198
1198
until : " 2022-08-20"
1199
1199
...
0 commit comments