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:
parent
678aa7487a
commit
980c226035
1 changed files with 0 additions and 4 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Reference in a new issue