Skip to content

Commit

Permalink
Attempt to fix the coverage-pr-base workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Oct 23, 2024
1 parent 133eac8 commit 1c36189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage-pr-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
BASE_REF=refs/heads/${{ github.event.pull_request.base.ref }}
MERGE_REF=refs/pull/${{ github.event.pull_request.number }}/merge
git fetch --progress --depth=1 origin "+$BASE_REF:$BASE_REF" "+$MERGE_REF:$MERGE_REF"
git fetch -u --progress --depth=1 origin "+$BASE_REF:$BASE_REF" "+$MERGE_REF:$MERGE_REF"
while [ -z "$(git merge-base "$BASE_REF" "$MERGE_REF")" ]; do
git fetch -q --deepen="10" origin "$BASE_REF" "$MERGE_REF";
git fetch -u -q --deepen="10" origin "$BASE_REF" "$MERGE_REF";
done
MERGE_BASE=$(git merge-base "$BASE_REF" "$MERGE_REF")
Expand Down

0 comments on commit 1c36189

Please sign in to comment.