Skip to content

Commit 25e1d3d

Browse files
committed
fix: rename default branch to main
1 parent bb9ba50 commit 25e1d3d

File tree

42 files changed

+70
-70
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+70
-70
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- '**'
77
push:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
linting:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- master
7+
- main
88

99
jobs:
1010
publish_npm:
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
with:
18-
ref: 'master'
18+
ref: 'main'
1919
fetch-depth: 0
2020
- name: Yarn Install
2121
uses: nick-invision/retry@v2

.github/workflows/tests_e2e_android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
push:
1414
branches:
15-
- master
15+
- main
1616
paths-ignore:
1717
- 'docs/**'
1818
- 'website/**'

.github/workflows/tests_e2e_ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
push:
1414
branches:
15-
- master
15+
- main
1616
paths-ignore:
1717
- 'docs/**'
1818
- 'website/**'

.github/workflows/tests_jest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- '**/*.md'
1212
push:
1313
branches:
14-
- master
14+
- main
1515
paths-ignore:
1616
- 'docs/**'
1717
- 'website/**'

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We welcome any type of contribution, not just code. You can help with;
66

77
- **QA**: file bug reports, the more details you can give the better (e.g. platform versions, screenshots SDK versions & logs)
88
- **Docs**: improve reference coverage, add more examples, fix typos or anything else you can spot.
9-
- At the top of every page on our docs site you can click the `Edit Page` button to go to that pages markdown file or TypeScript definition file, or view the [documents](https://github.com/invertase/react-native-firebase/tree/master/docs) directly
9+
- At the top of every page on our docs site you can click the `Edit Page` button to go to that pages markdown file or TypeScript definition file, or view the [documents](https://github.com/invertase/react-native-firebase/tree/main/docs) directly
1010
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
1111
- **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters.
1212

@@ -133,14 +133,14 @@ To run end-to-end tests for `iOS`, please run:
133133
- `yarn tests:emulator:start` - runs Firestore emulator for Firestore tests.
134134
- `yarn tests:ios:test` - runs tests using Detox library. Tests for each package can be found in the `e2e` directory (i.e. `[PACKAGE]/e2e/*.e2e.js`)
135135

136-
See it's local testing guide [here](https://github.com/invertase/react-native-firebase/blob/master/tests/README.md) to get started
136+
See it's local testing guide [here](https://github.com/invertase/react-native-firebase/blob/main/tests/README.md) to get started
137137
with `e2e` testing this project.
138138

139139
---
140140

141141
## Submitting code for review
142142

143-
All code changes should be submitted as a pull request to the master branch.
143+
All code changes should be submitted as a pull request to the main branch.
144144

145145
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you? Tag in any linked issues.
146146

@@ -164,7 +164,7 @@ See the [Conventional Commits](https://www.conventionalcommits.org/) specificati
164164

165165
### Code review process
166166

167-
Pull Requests to master require two or more peer-review approvals and passing status checks before they can be merged.
167+
Pull Requests to main require two or more peer-review approvals and passing status checks before they can be merged.
168168

169169
Reviews of Pull Requests are based on the following acceptance critical:
170170

@@ -181,7 +181,7 @@ Reviews of Pull Requests are based on the following acceptance critical:
181181
- Other tests through Jest.
182182
- Do all CI checks pass.
183183

184-
Once a PR is merged into master; new versions of the changed packages are automatically created and published to NPM.
184+
Once a PR is merged into main; new versions of the changed packages are automatically created and published to NPM.
185185

186186
## [No Brown M&M's](http://en.wikipedia.org/wiki/Van_Halen#Contract_riders)
187187

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ Looking for the Version 5 documentation? [View legacy documentation](https://v5.
6969

7070
## Contributing
7171

72-
- [Overview](https://github.com/invertase/react-native-firebase/blob/master/CONTRIBUTING.md)
72+
- [Overview](https://github.com/invertase/react-native-firebase/blob/main/CONTRIBUTING.md)
7373
- [Issues](https://github.com/invertase/react-native-firebase/issues)
7474
- [PRs](https://github.com/invertase/react-native-firebase/pulls)
7575
- [Documentation](https://rnfirebase.io)
76-
- [Community](https://github.com/invertase/react-native-firebase/blob/master/CONTRIBUTING.md)
77-
- [Code of Conduct](https://github.com/invertase/meta/blob/master/CODE_OF_CONDUCT.md)
76+
- [Community](https://github.com/invertase/react-native-firebase/blob/main/CONTRIBUTING.md)
77+
- [Code of Conduct](https://github.com/invertase/meta/blob/main/CODE_OF_CONDUCT.md)
7878

7979
## License
8080

docs/auth/social-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Once authentication is successful, a Firebase credential can be used to sign the
2222

2323
To get started, you must first install the [`react-native-apple-authentication`](https://github.com/invertase/react-native-apple-authentication)
2424
library. There are a number of [prerequisites](https://github.com/invertase/react-native-apple-authentication#prerequisites-to-using-this-library) to using the library, including
25-
[setting up your Apple Developer account](https://github.com/invertase/react-native-apple-authentication/blob/master/docs/INITIAL_SETUP.md) to enable Apple Sign-In.
25+
[setting up your Apple Developer account](https://github.com/invertase/react-native-apple-authentication/blob/main/docs/INITIAL_SETUP.md) to enable Apple Sign-In.
2626

2727
Ensure the "Apple" sign-in provider is enabled on the [Firebase Console](https://console.firebase.google.com/project/_/authentication/providers).
2828

docs/messaging/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ On Android, any messages which display a [Notification](/messaging/notifications
438438
(such as the small icon, title etc). To provide a custom tint color, update the `messaging_android_notification_color` property
439439
with a Android color resource name.
440440

441-
The library provides a set of [predefined colors](https://github.com/invertase/react-native-firebase/blob/master/packages/messaging/android/src/main/res/values/colors.xml) corresponding to the [HTML colors](https://www.w3schools.com/colors/colors_names.asp) for convenience, for example:
441+
The library provides a set of [predefined colors](https://github.com/invertase/react-native-firebase/blob/main/packages/messaging/android/src/main/res/values/colors.xml) corresponding to the [HTML colors](https://www.w3schools.com/colors/colors_names.asp) for convenience, for example:
442442

443443
```json
444444
// <projectRoot>/firebase.json

docs/ml/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cd ios/ && pod install
2525
> **This package is mostly discontinued** since these APIs are no longer available in the latest Firebase SDKs.
2626
> To call the Cloud Vision API from your app the recommended approach is using Firebase
2727
> Authentication and Functions, which gives you a managed, serverless gateway to Google Cloud Vision APIs. For an example
28-
> Functions project see the [vision-annotate-images](https://github.com/firebase/functions-samples/tree/master/vision-annotate-images) sample project.
28+
> Functions project see the [vision-annotate-images](https://github.com/firebase/functions-samples/tree/main/vision-annotate-images) sample project.
2929
3030
If you're using an older version of React Native without autolinking support, or wish to integrate into an existing project,
3131
you can follow the manual installation steps for [iOS](/ml/usage/installation/ios) and [Android](/ml/usage/installation/android).

0 commit comments

Comments
 (0)