@@ -136,7 +136,7 @@ jobs:
136
136
# -----------------------------------------------------------------------------------------------------------
137
137
- name : Get changed files
138
138
id : changed-files
139
- uses : tj-actions/changed-files@v46
139
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
140
140
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
141
141
# with:
142
142
# since_last_remote_commit: true
@@ -154,7 +154,7 @@ jobs:
154
154
# -----------------------------------------------------------------------------------------------------------
155
155
- name : Get all changed markdown files
156
156
id : changed-markdown-files
157
- uses : tj-actions/changed-files@v46
157
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
158
158
with :
159
159
# Avoid using single or double quotes for multiline patterns
160
160
files : |
@@ -175,7 +175,7 @@ jobs:
175
175
# -----------------------------------------------------------------------------------------------------------
176
176
- name : Get all test, doc and src files that have changed
177
177
id : changed-files-yaml
178
- uses : tj-actions/changed-files@v46
178
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
179
179
with :
180
180
files_yaml : |
181
181
doc:
@@ -210,7 +210,7 @@ jobs:
210
210
# -----------------------------------------------------------------------------------------------------------
211
211
- name : Get changed files in the docs folder
212
212
id : changed-files-specific
213
- uses : tj-actions/changed-files@v46
213
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
214
214
with :
215
215
files : docs/*.{js,html} # Alternatively using: `docs/**`
216
216
files_ignore : docs/static.js
@@ -252,7 +252,7 @@ jobs:
252
252
steps :
253
253
- name : Get changed files
254
254
id : changed-files
255
- uses : tj-actions/changed-files@v46
255
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
256
256
257
257
- name : List all changed files
258
258
env :
@@ -295,7 +295,7 @@ jobs:
295
295
296
296
- name : Get changed files
297
297
id : changed-files
298
- uses : tj-actions/changed-files@v46
298
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
299
299
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
300
300
301
301
- name : List all changed files
@@ -827,7 +827,7 @@ The format of the version string is as follows:
827
827
...
828
828
- name : Get changed files
829
829
id : changed-files
830
- uses : tj-actions/changed-files@v46
830
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
831
831
...
832
832
```
833
833
@@ -840,7 +840,7 @@ The format of the version string is as follows:
840
840
...
841
841
- name : Get changed files
842
842
id : changed-files
843
- uses : tj-actions/changed-files@v46
843
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
844
844
with :
845
845
safe_output : false # set to false because we are using an environment variable to store the output and avoid command injection.
846
846
@@ -863,7 +863,7 @@ The format of the version string is as follows:
863
863
...
864
864
- name : Get all changed files and use a comma separator in the output
865
865
id : changed-files
866
- uses : tj-actions/changed-files@v46
866
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
867
867
with :
868
868
separator : " ,"
869
869
...
@@ -880,7 +880,7 @@ See [inputs](#inputs) for more information.
880
880
...
881
881
- name : Get changed files
882
882
id : changed-files
883
- uses : tj-actions/changed-files@v46
883
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
884
884
885
885
- name : List all added files
886
886
env :
@@ -903,7 +903,7 @@ See [outputs](#outputs) for a list of all available outputs.
903
903
...
904
904
- name : Get changed files
905
905
id : changed-files
906
- uses : tj-actions/changed-files@v46
906
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
907
907
908
908
- name : Run a step if my-file.txt was modified
909
909
if : contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -924,7 +924,7 @@ See [outputs](#outputs) for a list of all available outputs.
924
924
925
925
- name : Get changed files and write the outputs to a Txt file
926
926
id : changed-files-write-output-files-txt
927
- uses : tj-actions/changed-files@v46
927
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
928
928
with :
929
929
write_output_files : true
930
930
@@ -943,7 +943,7 @@ See [outputs](#outputs) for a list of all available outputs.
943
943
...
944
944
- name : Get changed files and write the outputs to a JSON file
945
945
id : changed-files-write-output-files-json
946
- uses : tj-actions/changed-files@v46
946
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
947
947
with :
948
948
json : true
949
949
write_output_files : true
@@ -963,7 +963,7 @@ See [outputs](#outputs) for a list of all available outputs.
963
963
...
964
964
- name : Get changed files
965
965
id : changed-files
966
- uses : tj-actions/changed-files@v46
966
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
967
967
with :
968
968
files : |
969
969
my-file.txt
@@ -986,7 +986,7 @@ See [inputs](#inputs) for more information.
986
986
...
987
987
- name : Get changed files
988
988
id : changed-files-specific
989
- uses : tj-actions/changed-files@v46
989
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
990
990
with :
991
991
files : |
992
992
my-file.txt
@@ -1037,7 +1037,7 @@ See [outputs](#outputs) for a list of all available outputs.
1037
1037
...
1038
1038
- name : Get changed files using a source file or list of file(s) to populate to files input.
1039
1039
id : changed-files-specific-source-file
1040
- uses : tj-actions/changed-files@v46
1040
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1041
1041
with :
1042
1042
files_from_source_file : test/changed-files-list.txt
1043
1043
...
@@ -1054,7 +1054,7 @@ See [inputs](#inputs) for more information.
1054
1054
...
1055
1055
- name : Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
1056
1056
id : changed-files-specific-source-file-and-specify-files
1057
- uses : tj-actions/changed-files@v46
1057
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1058
1058
with :
1059
1059
files_from_source_file : |
1060
1060
test/changed-files-list.txt
@@ -1075,7 +1075,7 @@ See [inputs](#inputs) for more information.
1075
1075
...
1076
1076
- name : Get changed files using a different SHA
1077
1077
id : changed-files
1078
- uses : tj-actions/changed-files@v46
1078
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1079
1079
with :
1080
1080
sha : ${{ github.event.pull_request.head.sha }}
1081
1081
...
@@ -1092,7 +1092,7 @@ See [inputs](#inputs) for more information.
1092
1092
...
1093
1093
- name : Get changed files using a different base SHA
1094
1094
id : changed-files
1095
- uses : tj-actions/changed-files@v46
1095
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1096
1096
with :
1097
1097
base_sha : ${{ github.event.pull_request.base.sha }}
1098
1098
...
@@ -1124,7 +1124,7 @@ jobs:
1124
1124
1125
1125
- name : Get changed files
1126
1126
id : changed-files
1127
- uses : tj-actions/changed-files@v46
1127
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1128
1128
1129
1129
- name : List changed files
1130
1130
env :
@@ -1134,7 +1134,7 @@ jobs:
1134
1134
1135
1135
- name : Get changed files in the .github folder
1136
1136
id : changed-files-specific
1137
- uses : tj-actions/changed-files@v46
1137
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1138
1138
with :
1139
1139
files : .github/**
1140
1140
@@ -1165,7 +1165,7 @@ See [inputs](#inputs) for more information.
1165
1165
1166
1166
- name : Run changed-files with defaults in dir1
1167
1167
id : changed-files-for-dir1
1168
- uses : tj-actions/changed-files@v46
1168
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1169
1169
with :
1170
1170
path : dir1
1171
1171
@@ -1190,13 +1190,13 @@ See [inputs](#inputs) for more information.
1190
1190
...
1191
1191
- name : Run changed-files with quotepath disabled
1192
1192
id : changed-files-quotepath
1193
- uses : tj-actions/changed-files@v46
1193
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1194
1194
with :
1195
1195
quotepath : " false"
1196
1196
1197
1197
- name : Run changed-files with quotepath disabled for a specified list of file(s)
1198
1198
id : changed-files-quotepath-specific
1199
- uses : tj-actions/changed-files@v46
1199
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1200
1200
with :
1201
1201
files : test/test-è.txt
1202
1202
quotepath : " false"
@@ -1229,7 +1229,7 @@ See [inputs](#inputs) for more information.
1229
1229
1230
1230
- name : Run changed-files with the commit of the last successful test workflow run
1231
1231
id : changed-files-base-sha-push
1232
- uses : tj-actions/changed-files@v46
1232
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1233
1233
with :
1234
1234
base_sha : ${{ steps.last_successful_commit_push.outputs.base }}
1235
1235
...
@@ -1256,7 +1256,7 @@ See [inputs](#inputs) for more information.
1256
1256
1257
1257
- name : Run changed-files with the commit of the last successful test workflow run on the main branch
1258
1258
id : changed-files-base-sha-pull-request
1259
- uses : tj-actions/changed-files@v46
1259
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1260
1260
with :
1261
1261
base_sha : ${{ steps.last_successful_commit_pull_request.outputs.base }}
1262
1262
...
@@ -1282,7 +1282,7 @@ See [inputs](#inputs) for more information.
1282
1282
...
1283
1283
- name : Run changed-files with dir_names
1284
1284
id : changed-files-dir-names
1285
- uses : tj-actions/changed-files@v46
1285
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1286
1286
with :
1287
1287
dir_names : " true"
1288
1288
...
@@ -1299,7 +1299,7 @@ See [inputs](#inputs) for more information.
1299
1299
...
1300
1300
- name : Run changed-files with JSON output
1301
1301
id : changed-files-json
1302
- uses : tj-actions/changed-files@v46
1302
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1303
1303
with :
1304
1304
json : " true"
1305
1305
...
@@ -1316,13 +1316,13 @@ See [inputs](#inputs) for more information.
1316
1316
...
1317
1317
- name : Get changed-files since 2022-08-19
1318
1318
id : changed-files-since
1319
- uses : tj-actions/changed-files@v46
1319
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1320
1320
with :
1321
1321
since : " 2022-08-19"
1322
1322
1323
1323
- name : Get changed-files until 2022-08-20
1324
1324
id : changed-files-until
1325
- uses : tj-actions/changed-files@v46
1325
+ uses : tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46
1326
1326
with :
1327
1327
until : " 2022-08-20"
1328
1328
...
0 commit comments