Skip to content

Skip restore on default-branch builds by default#34

Draft
joshfriend wants to merge 1 commit into
mainfrom
auto-skip-restore-default-branch
Draft

Skip restore on default-branch builds by default#34
joshfriend wants to merge 1 commit into
mainfrom
auto-skip-restore-default-branch

Conversation

@joshfriend

@joshfriend joshfriend commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Default-branch (e.g. main) pushes never restore. They publish a fresh full base bundle, which keeps it from growing without bound. Branches and PRs restore the base and publish a delta.

This is an opinionated, automatic choice with no setting to override. Detection uses the event payload's repository.default_branch, so it follows the repo's actual default branch.

Verified the decision for push-to-main, pull_request, and direct branch push.

Default-branch (e.g. main) pushes never restore. They publish a fresh full
base bundle, which keeps it from growing without bound. Branches and PRs
restore the base and publish a delta. Opinionated, no setting to override.
@joshfriend joshfriend force-pushed the auto-skip-restore-default-branch branch from f6ea2dd to 707821b Compare June 18, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant