3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-19 15:23:42 +00:00

Update README.md

This commit is contained in:
Tonye Jack 2021-10-30 16:04:52 -04:00 committed by GitHub
parent b54a7ae725
commit 12ed49be65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,6 +229,16 @@ jobs:
for file in ${{ steps.changed-files-for-dir1.outputs.added_files }}; do
echo "$file was added"
done
- name: Run changed-files with since_last_remote_commit set to true
id: changed-files-since-last-remote-commit
uses: tj-actions/changed-files@v11.3
with:
since_last_remote_commit: 'true'
- name: Show output
run: |
echo '${{ toJSON(steps.changed-files-since-last-remote-commit.outputs) }}'
```
### Running [pre-commit](https://pre-commit.com/) on all modified files