Skip to content

chore: rename default branch master -> main (1/2: code)#282

Open
amuraru wants to merge 1 commit into
masterfrom
rename-master-to-main
Open

chore: rename default branch master -> main (1/2: code)#282
amuraru wants to merge 1 commit into
masterfrom
rename-master-to-main

Conversation

@amuraru

@amuraru amuraru commented Jul 14, 2026

Copy link
Copy Markdown

Prepares the repo for renaming the GitHub default branch mastermain by updating every in-repo reference. Part 1 of 2 (code branch); a companion PR updates the gh-pages docs URLs.

Functional (CI/release would break without these)

  • .github/workflows/ci.yml, e2e-test.yaml, codeql-analysis.yml — push/PR branch filters
  • .github/workflows/update-go-deps.yml, operator-release.yml — checkout ref: and PR base:
  • renovate.jsonbaseBranchPatterns, matchBaseBranches

Docs & badges

  • README.md + charts/kafka-operator/README.md — raw CRD-apply URLs, quick-start sample URL, ADOPTERS link, Go-version + CI status badges (?branch=)

External /master links (grpc, jmx_exporter, licensei, vendored third_party/**) are intentionally left unchanged.

Merge order (important)

  1. Merge this PR.
  2. Rename the default branch on GitHub (mastermain) — this retargets open PRs, sets up redirects, and migrates branch protection automatically.
  3. Merge the companion gh-pages docs PR.

Avoid pushing release tags in the window between merge and rename, since operator-release.yml / update-go-deps.yml now check out main.

🤖 Generated with Claude Code

Prepares the repo for renaming the GitHub default branch from `master`
to `main` by updating every in-repo reference to the branch.

Functional (CI/release would otherwise break):
- ci.yml, e2e-test.yaml, codeql-analysis.yml push/PR branch filters
- update-go-deps.yml + operator-release.yml checkout ref and PR base
- renovate.json baseBranchPatterns / matchBaseBranches

Docs & badges:
- README.md + charts/kafka-operator/README.md raw CRD-apply URLs,
  quick-start sample URL, ADOPTERS link, Go-version and CI status badges

External `/master` links (grpc, jmx_exporter, licensei, vendored
third_party) are intentionally left unchanged.

Merge order: merge this, then rename the default branch on GitHub
(master -> main). Avoid pushing release tags in the gap, since
operator-release.yml/update-go-deps.yml will check out `main`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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