Update action.yml
This commit is contained in:
parent
7cb6f92914
commit
b7160b4c97
@ -56,6 +56,7 @@ runs:
|
|||||||
git fetch --depth=1 origin ${TARGET_BRANCH}:${TARGET_BRANCH}
|
git fetch --depth=1 origin ${TARGET_BRANCH}:${TARGET_BRANCH}
|
||||||
|
|
||||||
echo "Getting head sha..."
|
echo "Getting head sha..."
|
||||||
|
|
||||||
HEAD_SHA=$(git rev-parse ${TARGET_BRANCH} || true)
|
HEAD_SHA=$(git rev-parse ${TARGET_BRANCH} || true)
|
||||||
|
|
||||||
ADDED_FILES="$(git diff --diff-filter=A --name-only ${HEAD_SHA} || true)"
|
ADDED_FILES="$(git diff --diff-filter=A --name-only ${HEAD_SHA} || true)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user