Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit 703d479

Browse files
author
Benjamin E. Coe
authored
fix(build): migrate to main branch (#614)
1 parent 82eb03e commit 703d479

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/generated-files-bot.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 8 additions & 8 deletions
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-cloud/language.svg)](https://www.npmjs.org/package/@google-cloud/language)
9-
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-language/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-language)
9+
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-language/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-language)
1010

1111

1212

@@ -17,7 +17,7 @@ analysis, and syntax analysis. This API is part of the larger Cloud Machine Lear
1717

1818

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

2222
* [Natural Language Node.js Client API Reference][client-docs]
2323
* [Natural Language Documentation][product-docs]
@@ -90,13 +90,13 @@ async function quickstart() {
9090

9191
## Samples
9292

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

9595
| Sample | Source Code | Try it |
9696
| --------------------------- | --------------------------------- | ------ |
97-
| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) |
98-
| Quickstart | [source code](https://github.com/googleapis/nodejs-language/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-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
99-
| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md) |
97+
| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) |
98+
| Quickstart | [source code](https://github.com/googleapis/nodejs-language/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-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
99+
| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md) |
100100

101101

102102

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

146146
## Contributing
147147

148-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-language/blob/master/CONTRIBUTING.md).
148+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-language/blob/main/CONTRIBUTING.md).
149149

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

158158
Apache Version 2.0
159159

160-
See [LICENSE](https://github.com/googleapis/nodejs-language/blob/master/LICENSE)
160+
See [LICENSE](https://github.com/googleapis/nodejs-language/blob/main/LICENSE)
161161

162162
[client-docs]: https://cloud.google.com/nodejs/docs/reference/language/latest
163163
[product-docs]: https://cloud.google.com/natural-language/docs/

samples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Before running the samples, make sure you've followed the steps outlined in
3535

3636
### Analyze v1
3737

38-
View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js).
38+
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js).
3939

4040
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md)
4141

@@ -52,7 +52,7 @@ __Usage:__
5252

5353
### Quickstart
5454

55-
View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/quickstart.js).
55+
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/quickstart.js).
5656

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

@@ -69,7 +69,7 @@ __Usage:__
6969

7070
### Set Endpoint
7171

72-
View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.js).
72+
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js).
7373

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

0 commit comments

Comments
 (0)