Skip to content

Commit 9a4a9a2

Browse files
authored
Attempt to fix the coverage-pr-base workflow (#4642)
1 parent 133eac8 commit 9a4a9a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/coverage-pr-base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
BASE_REF=refs/heads/${{ github.event.pull_request.base.ref }}
2323
MERGE_REF=refs/pull/${{ github.event.pull_request.number }}/merge
2424
25-
git fetch --progress --depth=1 origin "+$BASE_REF:$BASE_REF" "+$MERGE_REF:$MERGE_REF"
25+
git fetch -u --progress --depth=1 origin "+$BASE_REF:$BASE_REF" "+$MERGE_REF:$MERGE_REF"
2626
while [ -z "$(git merge-base "$BASE_REF" "$MERGE_REF")" ]; do
27-
git fetch -q --deepen="10" origin "$BASE_REF" "$MERGE_REF";
27+
git fetch -u -q --deepen="10" origin "$BASE_REF" "$MERGE_REF";
2828
done
2929
3030
MERGE_BASE=$(git merge-base "$BASE_REF" "$MERGE_REF")

0 commit comments

Comments
 (0)