3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 13:47:20 +00:00

Update action.yml

This commit is contained in:
Tonye Jack 2021-03-05 07:32:36 -05:00 committed by GitHub
parent 678aa7487a
commit 980c226035
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,10 +49,6 @@ runs:
TARGET_BRANCH=${GITHUB_BASE_REF} TARGET_BRANCH=${GITHUB_BASE_REF}
CURRENT_BRANCH=${GITHUB_HEAD_REF} CURRENT_BRANCH=${GITHUB_HEAD_REF}
echo "Getting base branch..."
git config --local remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git config --local --add remote.origin.fetch "+refs/tags/*:refs/tags/*"
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..."