Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 29, 2023
1 parent 592e305 commit a6a8167
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ Verify that certain files or directories did or did not change during the workfl
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
with:
safe_output: false # true by default, set to false because we are using an environment variable to store the output and avoid command injection.
files: |
*.txt
test_directory
Expand All @@ -86,7 +85,6 @@ Verify that certain files or directories did or did not change during the workfl
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
with:
safe_output: false
files: |
new.txt
test_directory
Expand All @@ -104,13 +102,10 @@ Verify that certain files or directories did or did not change during the workfl
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
with:
safe_output: false

- name: List all changed files tracked and untracked files
env:
FILES_CHANGED: |-
${{ steps.verify-changed-files.outputs.changed_files }}
FILES_CHANGED: ${{ steps.verify-changed-files.outputs.changed_files }}
run: |
echo "Changed files: $FILES_CHANGED"
```
Expand Down

0 comments on commit a6a8167

Please sign in to comment.