Skip to content

Commit d13ac19

Browse files
authored
Update README.md
1 parent bb89f97 commit d13ac19

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,10 @@ jobs:
233233
- name: Get changed files
234234
id: changed-files
235235
uses: tj-actions/changed-files@v40
236-
with:
237-
safe_output: false # true by default, set to false because we are using an environment variable to store the output and avoid command injection.
238236

239237
- name: List all changed files
240238
env:
241-
ALL_CHANGED_FILES: |-
242-
${{ steps.changed-files.outputs.all_changed_files }}
239+
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
243240
run: |
244241
for file in "$ALL_CHANGED_FILES"; do
245242
echo "$file was changed"
@@ -279,15 +276,11 @@ jobs:
279276
- name: Get changed files
280277
id: changed-files
281278
uses: tj-actions/changed-files@v40
282-
with:
283-
safe_output: false # true by default, set to false because we are using an environment variable to store the output and avoid command injection.
284-
285279
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
286280

287281
- name: List all changed files
288282
env:
289-
ALL_CHANGED_FILES: |-
290-
${{ steps.changed-files.outputs.all_changed_files }}
283+
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
291284
run: |
292285
for file in "$ALL_CHANGED_FILES"; do
293286
echo "$file was changed"

0 commit comments

Comments
 (0)