Skip to content

Commit 9aca54c

Browse files
chenghao-mouclaude
andcommitted
ci: disable add-and-commit fetch in build-protocol
The default 'git fetch --tags --force' pulls 100+ refs at once and the action aborts before committing the generated stubs. This step doesn't pull or tag, so the fetch is unused here. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 42e3760 commit 9aca54c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-protocol.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
add: '["livekit-protocol/"]'
5656
default_author: github_actions
5757
message: generated protobuf
58+
# Skip the default `git fetch --tags --force`: on this repo it pulls
59+
# 100+ refs at once and the action aborts before committing. Committing
60+
# generated stubs onto the PR head branch doesn't need a full fetch.
61+
fetch: false
5862

5963
build_wheels:
6064
name: Build Protocol wheel/sdist

0 commit comments

Comments
 (0)