Fixed the test
This commit is contained in:
parent
ab710fb168
commit
07dba6b85d
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -355,6 +355,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
base_sha: "85bd869"
|
base_sha: "85bd869"
|
||||||
sha: "adde7bb"
|
sha: "adde7bb"
|
||||||
|
fetch_depth: 60000
|
||||||
|
|
||||||
- name: Verify added files
|
- name: Verify added files
|
||||||
if: steps.changed-files.outputs.added_files != 'test/demo/test/test.txt'
|
if: steps.changed-files.outputs.added_files != 'test/demo/test/test.txt'
|
||||||
|
@ -61,7 +61,6 @@ if [[ -z $GITHUB_EVENT_PULL_REQUEST_BASE_REF ]]; then
|
|||||||
echo "Fetching remote refs..."
|
echo "Fetching remote refs..."
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin +refs/heads/"$CURRENT_BRANCH":refs/remotes/origin/"$CURRENT_BRANCH" 1>/dev/null
|
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin +refs/heads/"$CURRENT_BRANCH":refs/remotes/origin/"$CURRENT_BRANCH" 1>/dev/null
|
||||||
git branch --track "$CURRENT_BRANCH" origin/"$CURRENT_BRANCH" 1>/dev/null || true
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::debug::Getting HEAD SHA..."
|
echo "::debug::Getting HEAD SHA..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user