mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-16 23:17:49 +00:00
Update diff-sha.sh
This commit is contained in:
parent
2ed48aa52f
commit
96ce8da4f6
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ else
|
|||
echo "Fetching $depth commits..."
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
git fetch $EXTRA_ARGS -u --progress --deepen="$depth"
|
||||
git fetch $EXTRA_ARGS -u --progress --deepen="$depth" origin +"$GITHUB_REF":refs/remotes/origin/"$CURRENT_BRANCH"
|
||||
|
||||
if [[ $depth -gt $max_depth ]]; then
|
||||
echo "::error::Unable to locate a common ancestor between $TARGET_BRANCH and $CURRENT_SHA"
|
||||
|
|
Loading…
Reference in a new issue