Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 6, 2021
1 parent 61622b6 commit 32f883f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -213,13 +213,19 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
path: subfolder
path: dir1

- name: Run changed-files with defaults on the dir1
id: changed-files-for-subfolder
id: changed-files-for-dir1
uses: tj-actions/changed-files@v1.1.2
with:
path: subfolder
path: dir1

- name: List all added files in dir1
run: |
for file in "${{ steps.changed-files-for-dir1.outputs.added_files }}"; do
echo "$file was added"
done
```

### Running [pre-commit](https://pre-commit.com/) on all modified files
Expand Down

0 comments on commit 32f883f

Please sign in to comment.