Skip to content

Commit cf58304

Browse files
authored
fix(build): switch primary branch to main (#365)
1 parent 5815e08 commit cf58304

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/generated-files-bot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ generatedFiles:
88
- path: '.github/generated-files-bot.+(yml|yaml)'
99
message: '`.github/generated-files-bot.(yml|yaml)` should be updated in [`synthtool`](https://github.com/googleapis/synthtool)'
1010
- path: 'README.md'
11-
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
11+
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
1212
- path: 'samples/README.md'
13-
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
13+
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
1414
ignoreAuthors:
1515
- 'gcf-owl-bot[bot]'
1616
- 'yoshi-automation'

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
pull_request:
66
name: ci
77
jobs:

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
88
[![npm version](https://img.shields.io/npm/v/google-proto-files.svg)](https://www.npmjs.org/package/google-proto-files)
9-
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-proto-files/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-proto-files)
9+
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-proto-files/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-proto-files)
1010

1111

1212

@@ -15,7 +15,7 @@ All of the Google API's protocol buffer files
1515

1616

1717
A comprehensive list of changes in each version may be found in
18-
[the CHANGELOG](https://github.com/googleapis/nodejs-proto-files/blob/master/CHANGELOG.md).
18+
[the CHANGELOG](https://github.com/googleapis/nodejs-proto-files/blob/main/CHANGELOG.md).
1919

2020
* [Google APIs Proto Files Node.js Client API Reference][client-docs]
2121

@@ -80,11 +80,11 @@ quickstart();
8080

8181
## Samples
8282

83-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-proto-files/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
83+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-proto-files/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
8484

8585
| Sample | Source Code | Try it |
8686
| --------------------------- | --------------------------------- | ------ |
87-
| Quickstart | [source code](https://github.com/googleapis/nodejs-proto-files/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-proto-files&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
87+
| Quickstart | [source code](https://github.com/googleapis/nodejs-proto-files/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-proto-files&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
8888

8989

9090

@@ -133,7 +133,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
133133

134134
## Contributing
135135

136-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-proto-files/blob/master/CONTRIBUTING.md).
136+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-proto-files/blob/main/CONTRIBUTING.md).
137137

138138
Please note that this `README.md`, the `samples/README.md`,
139139
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -145,7 +145,7 @@ to its templates in
145145

146146
Apache Version 2.0
147147

148-
See [LICENSE](https://github.com/googleapis/nodejs-proto-files/blob/master/LICENSE)
148+
See [LICENSE](https://github.com/googleapis/nodejs-proto-files/blob/main/LICENSE)
149149

150150
[client-docs]: https://cloud.google.com/nodejs/docs/reference/google-proto-files/latest
151151

samples/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before running the samples, make sure you've followed the steps outlined in
3131

3232
### Quickstart
3333

34-
View the [source code](https://github.com/googleapis/nodejs-proto-files/blob/master/samples/quickstart.js).
34+
View the [source code](https://github.com/googleapis/nodejs-proto-files/blob/main/samples/quickstart.js).
3535

3636
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-proto-files&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
3737

0 commit comments

Comments
 (0)