Skip to content

Commit 255851b

Browse files
chore: Rename default branch to (#3033)
1 parent 179dab7 commit 255851b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/scripts/publish_preflight_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ echo_info "Generating changelog"
146146
echo_info "--------------------------------------------"
147147
echo_info ""
148148

149-
echo_info "---< git fetch origin master --prune --unshallow >---"
150-
git fetch origin master --prune --unshallow
149+
echo_info "---< git fetch origin main --prune --unshallow >---"
150+
git fetch origin main --prune --unshallow
151151
echo ""
152152

153153
echo_info "Generating changelog from history..."

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ jobs:
9292

9393
# Check whether the release should be published. We publish only when the trigger PR is
9494
# 1. merged
95-
# 2. to the master branch
95+
# 2. to the main branch
9696
# 3. with the label 'release:publish', and
9797
# 4. the title prefix '[chore] Release '.
98-
if: github.event.pull_request.merged &&
99-
github.ref == 'refs/heads/master' &&
98+
if: |
99+
github.event.pull_request.merged &&
100+
github.ref == 'refs/heads/main' &&
100101
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
101102
startsWith(github.event.pull_request.title, '[chore] Release ')
102103

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Great, we love hearing how we can improve our products! Share you idea through o
4747
## <a name="submit"></a>Want to submit a pull request?
4848

4949
Sweet, we'd love to accept your contribution!
50-
[Open a new pull request](https://github.com/firebase/firebase-admin-node/pull/new/master) and fill
50+
[Open a new pull request](https://github.com/firebase/firebase-admin-node/pull/new/main) and fill
5151
out the provided template.
5252

5353
**If you want to implement a new feature, please open an issue with a proposal first so that we can

0 commit comments

Comments
 (0)