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:
parent
b54a7ae725
commit
12ed49be65
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue