chore: rename default branch master -> main (1/2: code)#282
Open
amuraru wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the repo for renaming the GitHub default branch
master→mainby updating every in-repo reference. Part 1 of 2 (code branch); a companion PR updates thegh-pagesdocs 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— checkoutref:and PRbase:renovate.json—baseBranchPatterns,matchBaseBranchesDocs & 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
/masterlinks (grpc, jmx_exporter, licensei, vendoredthird_party/**) are intentionally left unchanged.Merge order (important)
master→main) — this retargets open PRs, sets up redirects, and migrates branch protection automatically.gh-pagesdocs PR.Avoid pushing release tags in the window between merge and rename, since
operator-release.yml/update-go-deps.ymlnow check outmain.🤖 Generated with Claude Code