From 12ed49be650d122f6d23409efa8422bb77db661e Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 30 Oct 2021 16:04:52 -0400 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4bb8ae90..a9fc42ab 100644 --- a/README.md +++ b/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