Skip to content

Commit

Permalink
Don't check base commit in large files check (#26416)
Browse files Browse the repository at this point in the history
Prevent the new-large-files check from checking the commit being merged
into, which caused an error when trying to retrieve its parent.

Follow up to #26371.

[trivial fix, not reviewed]
  • Loading branch information
riftEmber authored Dec 16, 2024
2 parents 72d810c + 5a82f91 commit a8bd684
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ jobs:
# latest.
for commit in $(git rev-list $baseSHA..$headSHA)
do
if [ "$commit" = "$baseSHA" ]; then
break
fi
echo "Checking commit: $commit"
git checkout -q $commit
Expand Down

0 comments on commit a8bd684

Please sign in to comment.