fix: Tell buf to fetch to a depth of 100 commits when looking for breaking changes
Per <https://docs.buf.build/reference/inputs#other-options>, this is by default 50 (and I have 51 commits on this PR 😰) 100 commits should be enough for anyone.pull/24376/head
parent
727dd864d2
commit
b86eb763b1
|
@ -348,7 +348,7 @@ jobs:
|
||||||
git fetch origin main
|
git fetch origin main
|
||||||
# compare against only changes in this branch (not against
|
# compare against only changes in this branch (not against
|
||||||
# other stuff that may have been added to main since last merge)
|
# other stuff that may have been added to main since last merge)
|
||||||
MERGE_BASE=$(git merge-base origin/main $CIRCLE_BRANCH) sh -c 'buf breaking --against ".git#ref=$MERGE_BASE"'
|
MERGE_BASE=$(git merge-base origin/main $CIRCLE_BRANCH) sh -c 'buf breaking --against ".git#ref=$MERGE_BASE,depth=100"'
|
||||||
|
|
||||||
# Lint docs
|
# Lint docs
|
||||||
docs-lint:
|
docs-lint:
|
||||||
|
|
Loading…
Reference in New Issue