Update action.yml

This commit is contained in:
Tonye Jack
2021-03-05 06:25:28 -05:00
committed by GitHub
parent 7cb6f92914
commit b7160b4c97

View File

@@ -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)"