ci: rename default branch from dev to main - #1399
Conversation
Update all CI workflows, scripts, and configuration to use main as the default development branch. The old main branch will become legacy-main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Closes #193
PR SummaryUpdated all GitHub Actions workflows, scripts, and configuration files to use Changes
autogenerated by presubmit.ai |
There was a problem hiding this comment.
🚨 Pull request needs attention.
Review Summary
Commits Considered (1)
- dca4b20: ci: rename default branch from dev to main
Update all CI workflows, scripts, and configuration to use main as the
default development branch. The old main branch will become legacy-main.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Closes #193
Files Processed (14)
- .claude/commands/create-pr.md (2 hunks)
- .github/workflows/auto-link-issue.yml (1 hunk)
- .github/workflows/code-analysis.yml (1 hunk)
- .github/workflows/dependency-review.yml (1 hunk)
- .github/workflows/extension-build.yml (1 hunk)
- .github/workflows/lint.yml (1 hunk)
- .github/workflows/packages.yml (1 hunk)
- .github/workflows/presubmit.yml (1 hunk)
- .github/workflows/react-native.yml (1 hunk)
- .github/workflows/submodule-update.yml (2 hunks)
- .github/workflows/submodule-validate.yml (1 hunk)
- .gitmodules (1 hunk)
- CLAUDE.md (2 hunks)
- scripts/update-submodule-refs.sh (2 hunks)
Actionable Comments (1)
-
scripts/update-submodule-refs.sh [67-68]
typo: "Outdated comment references old branch name."
Skipped Comments (0)
| # Use ref configured in .gitmodules (dev) | ||
| ref=$(git config -f .gitmodules "submodule.${label}.branch" || echo "dev") | ||
| ref=$(git config -f .gitmodules "submodule.${label}.branch" || echo "main") |
There was a problem hiding this comment.
The comment on line 67 still says (dev) but the code now defaults to main. The comment should be updated to match the new default branch.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Closes #193
There was a problem hiding this comment.
✅ LGTM!
Review Summary
Commits Considered (1)
- b433799: ci: upgrade ai-reviewer model to Claude Opus 4.6
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Closes #193
Files Processed (1)
- .github/workflows/presubmit.yml (2 hunks)
Summary
maininstead ofdevas the default/target branch.gitmodulessubmodule branch fromdevtomainscripts/update-submodule-refs.shfallback branch fromdevtomainextension-build.ymlto treatmainbranch as production environmentlegacy-mainto allowed branch lists inauto-link-issue.ymlandCLAUDE.md/create-prcommand docs to reflect new default target branchNotes
android.yml:devbuild type references are Gradle flavors (debug/dev/release), NOT branch names — intentionally left unchangedextension-e2e.yml:dev/proare build targets, NOT branch names — intentionally left unchangedmainas the default branch and rename oldmaintolegacy-mainTest plan
mainbranch after the branch renamemainas production environment🤖 Generated with Claude Code
Closes #193