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

Merge branch 'fix/determining-the-merge-base' into fix/wrong-changed-files-for-forked-prs

This commit is contained in:
Tonye Jack 2022-12-05 00:06:11 -07:00
commit 984b4ca567

View file

@ -225,7 +225,7 @@ else
depth=$INPUT_FETCH_DEPTH depth=$INPUT_FETCH_DEPTH
max_depth=$INPUT_MAX_FETCH_DEPTH max_depth=$INPUT_MAX_FETCH_DEPTH
while ! git merge-base $MERGE_BASE_EXRTRA_ARGS "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null; do while ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA"..."$CURRENT_SHA"; do
echo "Fetching $depth commits..." echo "Fetching $depth commits..."
# shellcheck disable=SC2086 # shellcheck disable=SC2086