mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
parent
104afac892
commit
040111b367
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ if [[ -z $GITHUB_BASE_REF ]]; then
|
||||||
else
|
else
|
||||||
TARGET_BRANCH=$GITHUB_BASE_REF
|
TARGET_BRANCH=$GITHUB_BASE_REF
|
||||||
CURRENT_BRANCH=$GITHUB_HEAD_REF
|
CURRENT_BRANCH=$GITHUB_HEAD_REF
|
||||||
git fetch temp_changed_files -u "${TARGET_BRANCH}":"${TARGET_BRANCH}"
|
git fetch temp_changed_files --no-tags -u "${TARGET_BRANCH}":"${TARGET_BRANCH}"
|
||||||
if [[ -z $INPUT_BASE_SHA ]]; then
|
if [[ -z $INPUT_BASE_SHA ]]; then
|
||||||
PREVIOUS_SHA=$(git rev-parse "${TARGET_BRANCH}" 2>&1) && exit_status=$? || exit_status=$?
|
PREVIOUS_SHA=$(git rev-parse "${TARGET_BRANCH}" 2>&1) && exit_status=$? || exit_status=$?
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue