From ddd858a06344f6d408e68921ddadbeb5cbcae09d Mon Sep 17 00:00:00 2001 From: Lahiru Maramba Date: Wed, 21 Oct 2026 18:03:40 -0400 Subject: [PATCH] chore: Replace master branch references with main Update branch references from master to main in release.yml and CONTRIBUTING.md. --- .github/workflows/release.yml | 12 ++++++------ CONTRIBUTING.md | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0adaa5a9..45917cda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -102,15 +102,15 @@ jobs: run: ./.github/scripts/publish_preflight_check.sh # We authorize this step with temporary GitHub App installation token that has - # write access to the master branch. - - name: Fast-forward master to dev + # write access to the main branch. + - name: Fast-forward main to dev run: | git checkout dev git pull origin dev - git checkout master - git pull origin master + git checkout main + git pull origin main git merge dev --ff-only - git push origin master + git push origin main # See: https://cli.github.com/manual/gh_release_create - name: Create release tag @@ -122,4 +122,4 @@ jobs: gh release create "$RELEASE_VER" \ --title "Firebase Admin Go SDK $RELEASE_VER" \ --notes "$RELEASE_BODY" \ - --target "master" + --target "main" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 901fad26..bf1c1dcb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,13 +47,13 @@ Great, we love hearing how we can improve our products! Share you idea through o ## Want to submit a pull request? Sweet, we'd love to accept your contribution! -[Open a new pull request](https://github.com/firebase/firebase-admin-go/pull/new/master) and fill +[Open a new pull request](https://github.com/firebase/firebase-admin-go/pull/new/main) and fill out the provided template. Make sure to create all your pull requests against the `dev` branch. All development -work takes place on this branch, while the `master` branch is dedicated for released +work takes place on this branch, while the `main` branch is dedicated for released stable code. This enables us to review and merge routine code changes, without -impacting downstream applications that are building against our `master` +impacting downstream applications that are building against our `main` branch. **If you want to implement a new feature, please open an issue with a proposal first so that we can