mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-19 15:23:42 +00:00
Update action.yml
This commit is contained in:
parent
7cb6f92914
commit
b7160b4c97
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ runs:
|
|||
git fetch --depth=1 origin ${TARGET_BRANCH}:${TARGET_BRANCH}
|
||||
|
||||
echo "Getting head sha..."
|
||||
|
||||
HEAD_SHA=$(git rev-parse ${TARGET_BRANCH} || true)
|
||||
|
||||
ADDED_FILES="$(git diff --diff-filter=A --name-only ${HEAD_SHA} || true)"
|
||||
|
|
Loading…
Add table
Reference in a new issue