Skip to content

Commit 3d8cf6f

Browse files
Revert "chore: Cherry-picked changes from upstream (#53)"
This reverts commit a373b15.
1 parent a373b15 commit 3d8cf6f

File tree

4 files changed

+71131
-41
lines changed

4 files changed

+71131
-41
lines changed

README.md

+31-31
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# -----------------------------------------------------------------------------------------------------------
106106
- name: Get changed files
107107
id: changed-files
108-
uses: step-security/changed-files@v46
108+
uses: step-security/changed-files@v45
109109
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
110110
# with:
111111
# since_last_remote_commit: true
@@ -123,7 +123,7 @@ jobs:
123123
# -----------------------------------------------------------------------------------------------------------
124124
- name: Get all changed markdown files
125125
id: changed-markdown-files
126-
uses: step-security/changed-files@v46
126+
uses: step-security/changed-files@v45
127127
with:
128128
# Avoid using single or double quotes for multiline patterns
129129
files: |
@@ -144,7 +144,7 @@ jobs:
144144
# -----------------------------------------------------------------------------------------------------------
145145
- name: Get all test, doc and src files that have changed
146146
id: changed-files-yaml
147-
uses: step-security/changed-files@v46
147+
uses: step-security/changed-files@v45
148148
with:
149149
files_yaml: |
150150
doc:
@@ -179,7 +179,7 @@ jobs:
179179
# -----------------------------------------------------------------------------------------------------------
180180
- name: Get changed files in the docs folder
181181
id: changed-files-specific
182-
uses: step-security/changed-files@v46
182+
uses: step-security/changed-files@v45
183183
with:
184184
files: docs/*.{js,html} # Alternatively using: `docs/**`
185185
files_ignore: docs/static.js
@@ -221,7 +221,7 @@ jobs:
221221
steps:
222222
- name: Get changed files
223223
id: changed-files
224-
uses: step-security/changed-files@v46
224+
uses: step-security/changed-files@v45
225225

226226
- name: List all changed files
227227
env:
@@ -264,7 +264,7 @@ jobs:
264264

265265
- name: Get changed files
266266
id: changed-files
267-
uses: step-security/changed-files@v46
267+
uses: step-security/changed-files@v45
268268
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
269269

270270
- name: List all changed files
@@ -303,7 +303,7 @@ To access more examples, navigate to the [Examples](#examples-) section.
303303
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
304304

305305
```yaml
306-
- uses: step-security/changed-files@v46
306+
- uses: step-security/changed-files@v45
307307
id: changed-files
308308
with:
309309
# Github API URL.
@@ -788,7 +788,7 @@ The format of the version string is as follows:
788788
...
789789
- name: Get changed files
790790
id: changed-files
791-
uses: step-security/changed-files@v46
791+
uses: step-security/changed-files@v45
792792
...
793793
```
794794

@@ -801,7 +801,7 @@ The format of the version string is as follows:
801801
...
802802
- name: Get changed files
803803
id: changed-files
804-
uses: step-security/changed-files@v46
804+
uses: step-security/changed-files@v45
805805
with:
806806
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
807807

@@ -824,7 +824,7 @@ The format of the version string is as follows:
824824
...
825825
- name: Get all changed files and use a comma separator in the output
826826
id: changed-files
827-
uses: step-security/changed-files@v46
827+
uses: step-security/changed-files@v45
828828
with:
829829
separator: ","
830830
...
@@ -841,7 +841,7 @@ See [inputs](#inputs) for more information.
841841
...
842842
- name: Get changed files
843843
id: changed-files
844-
uses: step-security/changed-files@v46
844+
uses: step-security/changed-files@v45
845845

846846
- name: List all added files
847847
env:
@@ -864,7 +864,7 @@ See [outputs](#outputs) for a list of all available outputs.
864864
...
865865
- name: Get changed files
866866
id: changed-files
867-
uses: step-security/changed-files@v46
867+
uses: step-security/changed-files@v45
868868

869869
- name: Run a step if my-file.txt was modified
870870
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -885,7 +885,7 @@ See [outputs](#outputs) for a list of all available outputs.
885885

886886
- name: Get changed files and write the outputs to a Txt file
887887
id: changed-files-write-output-files-txt
888-
uses: step-security/changed-files@v46
888+
uses: step-security/changed-files@v45
889889
with:
890890
write_output_files: true
891891

@@ -904,7 +904,7 @@ See [outputs](#outputs) for a list of all available outputs.
904904
...
905905
- name: Get changed files and write the outputs to a JSON file
906906
id: changed-files-write-output-files-json
907-
uses: step-security/changed-files@v46
907+
uses: step-security/changed-files@v45
908908
with:
909909
json: true
910910
write_output_files: true
@@ -924,7 +924,7 @@ See [outputs](#outputs) for a list of all available outputs.
924924
...
925925
- name: Get changed files
926926
id: changed-files
927-
uses: step-security/changed-files@v46
927+
uses: step-security/changed-files@v45
928928
with:
929929
files: |
930930
my-file.txt
@@ -947,7 +947,7 @@ See [inputs](#inputs) for more information.
947947
...
948948
- name: Get changed files
949949
id: changed-files-specific
950-
uses: step-security/changed-files@v46
950+
uses: step-security/changed-files@v45
951951
with:
952952
files: |
953953
my-file.txt
@@ -998,7 +998,7 @@ See [outputs](#outputs) for a list of all available outputs.
998998
...
999999
- name: Get changed files using a source file or list of file(s) to populate to files input.
10001000
id: changed-files-specific-source-file
1001-
uses: step-security/changed-files@v46
1001+
uses: step-security/changed-files@v45
10021002
with:
10031003
files_from_source_file: test/changed-files-list.txt
10041004
...
@@ -1015,7 +1015,7 @@ See [inputs](#inputs) for more information.
10151015
...
10161016
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
10171017
id: changed-files-specific-source-file-and-specify-files
1018-
uses: step-security/changed-files@v46
1018+
uses: step-security/changed-files@v45
10191019
with:
10201020
files_from_source_file: |
10211021
test/changed-files-list.txt
@@ -1036,7 +1036,7 @@ See [inputs](#inputs) for more information.
10361036
...
10371037
- name: Get changed files using a different SHA
10381038
id: changed-files
1039-
uses: step-security/changed-files@v46
1039+
uses: step-security/changed-files@v45
10401040
with:
10411041
sha: ${{ github.event.pull_request.head.sha }}
10421042
...
@@ -1053,7 +1053,7 @@ See [inputs](#inputs) for more information.
10531053
...
10541054
- name: Get changed files using a different base SHA
10551055
id: changed-files
1056-
uses: step-security/changed-files@v46
1056+
uses: step-security/changed-files@v45
10571057
with:
10581058
base_sha: ${{ github.event.pull_request.base.sha }}
10591059
...
@@ -1085,7 +1085,7 @@ jobs:
10851085

10861086
- name: Get changed files
10871087
id: changed-files
1088-
uses: step-security/changed-files@v46
1088+
uses: step-security/changed-files@v45
10891089

10901090
- name: List changed files
10911091
env:
@@ -1095,7 +1095,7 @@ jobs:
10951095
10961096
- name: Get changed files in the .github folder
10971097
id: changed-files-specific
1098-
uses: step-security/changed-files@v46
1098+
uses: step-security/changed-files@v45
10991099
with:
11001100
files: .github/**
11011101

@@ -1126,7 +1126,7 @@ See [inputs](#inputs) for more information.
11261126

11271127
- name: Run changed-files with defaults in dir1
11281128
id: changed-files-for-dir1
1129-
uses: step-security/changed-files@v46
1129+
uses: step-security/changed-files@v45
11301130
with:
11311131
path: dir1
11321132

@@ -1151,13 +1151,13 @@ See [inputs](#inputs) for more information.
11511151
...
11521152
- name: Run changed-files with quotepath disabled
11531153
id: changed-files-quotepath
1154-
uses: step-security/changed-files@v46
1154+
uses: step-security/changed-files@v45
11551155
with:
11561156
quotepath: "false"
11571157

11581158
- name: Run changed-files with quotepath disabled for a specified list of file(s)
11591159
id: changed-files-quotepath-specific
1160-
uses: step-security/changed-files@v46
1160+
uses: step-security/changed-files@v45
11611161
with:
11621162
files: test/test-è.txt
11631163
quotepath: "false"
@@ -1190,7 +1190,7 @@ See [inputs](#inputs) for more information.
11901190

11911191
- name: Run changed-files with the commit of the last successful test workflow run
11921192
id: changed-files-base-sha-push
1193-
uses: step-security/changed-files@v46
1193+
uses: step-security/changed-files@v45
11941194
with:
11951195
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
11961196
...
@@ -1217,7 +1217,7 @@ See [inputs](#inputs) for more information.
12171217

12181218
- name: Run changed-files with the commit of the last successful test workflow run on the main branch
12191219
id: changed-files-base-sha-pull-request
1220-
uses: step-security/changed-files@v46
1220+
uses: step-security/changed-files@v45
12211221
with:
12221222
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
12231223
...
@@ -1243,7 +1243,7 @@ See [inputs](#inputs) for more information.
12431243
...
12441244
- name: Run changed-files with dir_names
12451245
id: changed-files-dir-names
1246-
uses: step-security/changed-files@v46
1246+
uses: step-security/changed-files@v45
12471247
with:
12481248
dir_names: "true"
12491249
...
@@ -1260,7 +1260,7 @@ See [inputs](#inputs) for more information.
12601260
...
12611261
- name: Run changed-files with JSON output
12621262
id: changed-files-json
1263-
uses: step-security/changed-files@v46
1263+
uses: step-security/changed-files@v45
12641264
with:
12651265
json: "true"
12661266
...
@@ -1277,13 +1277,13 @@ See [inputs](#inputs) for more information.
12771277
...
12781278
- name: Get changed-files since 2022-08-19
12791279
id: changed-files-since
1280-
uses: step-security/changed-files@v46
1280+
uses: step-security/changed-files@v45
12811281
with:
12821282
since: "2022-08-19"
12831283

12841284
- name: Get changed-files until 2022-08-20
12851285
id: changed-files-until
1286-
uses: step-security/changed-files@v46
1286+
uses: step-security/changed-files@v45
12871287
with:
12881288
until: "2022-08-20"
12891289
...

0 commit comments

Comments
 (0)