Skip to content

fix(kit): setup-github pushes main; a config CRM CLI lists people and companies live - #198

Merged
leemour merged 2 commits into
mainfrom
fix/setup-github-pushes-main
Nov 18, 2026
Merged

leemour merged 2 commits into
mainfrom
fix/setup-github-pushes-main

Conversation

@leemour

@leemour leemour commented Nov 18, 2026

Copy link
Copy Markdown
Member

Task

bin/setup-github of a new CLI must create the repository with main pushed and protected.

Why

It ran gh repo create --source . --push, which pushes the branch checked out. attio-cli ran it from feat/attio-source: GitHub made that branch the default, main's ruleset (~DEFAULT_BRANCH) landed on it, and main was not pushed. Fixed by hand there (pushed main, set it as default).

What

Create the repository without --push, then git push -u origin main. A changelog fragment.

Testing

node --check, lint and docs:check pass. No test runs bin/setup-github (it calls GitHub); the push path is the one the "repository exists" branch already used.

🤖 Generated with Claude Code

gh repo create --push sends the current branch. attio-cli ran it from its feature branch: that branch became the
repository's default and took main's ruleset, and main was not pushed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour force-pushed the fix/setup-github-pushes-main branch from e1b0616 to 3919485 Compare November 18, 2026 18:04
@leemour leemour changed the title fix(kit): setup-github pushes main, not the branch checked out fix(kit): setup-github pushes main; a config CRM CLI lists people and companies live Nov 18, 2026
…e when their entity names a search

from-config wrote LIVE with users only, so attio-cli mounted people and organizations list by hand. LIVE now names
person and organization when the entity has a search, and the seed's crm.ts comment says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour force-pushed the fix/setup-github-pushes-main branch from 3919485 to 3966905 Compare November 18, 2026 18:04
@leemour
leemour merged commit 44666a9 into main Nov 18, 2026
16 checks passed
@leemour
leemour deleted the fix/setup-github-pushes-main branch November 18, 2026 18:24
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