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

Commit 5db2287

Browse files
author
Benjamin E. Coe
authored
fix(build): set default branch to main (#177)
1 parent 9d35aef commit 5db2287

4 files changed

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

1111

1212

@@ -15,7 +15,7 @@ Servicedirectory client for Node.js
1515

1616

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

2020
* [Service Directory Node.js Client API Reference][client-docs]
2121

@@ -98,18 +98,18 @@ return listNamespaces();
9898

9999
## Samples
100100

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

103103
| Sample | Source Code | Try it |
104104
| --------------------------- | --------------------------------- | ------ |
105-
| Create Endpoint | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createEndpoint.js,samples/README.md) |
106-
| Create Namespace | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createNamespace.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createNamespace.js,samples/README.md) |
107-
| Create Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createService.js,samples/README.md) |
108-
| Delete Endpoint | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteEndpoint.js,samples/README.md) |
109-
| Delete Namespace | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteNamespace.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteNamespace.js,samples/README.md) |
110-
| Delete Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteService.js,samples/README.md) |
111-
| Quickstart | [source code](https://github.com/googleapis/nodejs-service-directory/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-service-directory&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
112-
| Resolve Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/resolveService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/resolveService.js,samples/README.md) |
105+
| Create Endpoint | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createEndpoint.js,samples/README.md) |
106+
| Create Namespace | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createNamespace.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createNamespace.js,samples/README.md) |
107+
| Create Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createService.js,samples/README.md) |
108+
| Delete Endpoint | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteEndpoint.js,samples/README.md) |
109+
| Delete Namespace | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteNamespace.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteNamespace.js,samples/README.md) |
110+
| Delete Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteService.js,samples/README.md) |
111+
| Quickstart | [source code](https://github.com/googleapis/nodejs-service-directory/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-service-directory&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
112+
| Resolve Service | [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/resolveService.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/resolveService.js,samples/README.md) |
113113

114114

115115

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

159159
## Contributing
160160

161-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-service-directory/blob/master/CONTRIBUTING.md).
161+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-service-directory/blob/main/CONTRIBUTING.md).
162162

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

171171
Apache Version 2.0
172172

173-
See [LICENSE](https://github.com/googleapis/nodejs-service-directory/blob/master/LICENSE)
173+
See [LICENSE](https://github.com/googleapis/nodejs-service-directory/blob/main/LICENSE)
174174

175175
[client-docs]: https://cloud.google.com/nodejs/docs/reference/service-directory/latest
176176

samples/README.md

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

3939
### Create Endpoint
4040

41-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createEndpoint.js).
41+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createEndpoint.js).
4242

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

@@ -55,7 +55,7 @@ __Usage:__
5555

5656
### Create Namespace
5757

58-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createNamespace.js).
58+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createNamespace.js).
5959

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

@@ -72,7 +72,7 @@ __Usage:__
7272

7373
### Create Service
7474

75-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createService.js).
75+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createService.js).
7676

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

@@ -89,7 +89,7 @@ __Usage:__
8989

9090
### Delete Endpoint
9191

92-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteEndpoint.js).
92+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteEndpoint.js).
9393

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

@@ -106,7 +106,7 @@ __Usage:__
106106

107107
### Delete Namespace
108108

109-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteNamespace.js).
109+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteNamespace.js).
110110

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

@@ -123,7 +123,7 @@ __Usage:__
123123

124124
### Delete Service
125125

126-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteService.js).
126+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteService.js).
127127

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

@@ -140,7 +140,7 @@ __Usage:__
140140

141141
### Quickstart
142142

143-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/quickstart.js).
143+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/quickstart.js).
144144

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

@@ -157,7 +157,7 @@ __Usage:__
157157

158158
### Resolve Service
159159

160-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/resolveService.js).
160+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/resolveService.js).
161161

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

0 commit comments

Comments
 (0)