Skip to content

Commit d0e91f9

Browse files
authored
fix(build): set default branch to main (#403)
1 parent 8b215c3 commit d0e91f9

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

packages/google-cloud-scheduler/README.md

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

1111

1212

@@ -15,7 +15,7 @@ Cloud Scheduler API 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-scheduler/blob/master/CHANGELOG.md).
18+
[the CHANGELOG](https://github.com/googleapis/nodejs-scheduler/blob/main/CHANGELOG.md).
1919

2020
* [Google Cloud Scheduler Node.js Client API Reference][client-docs]
2121
* [Google Cloud Scheduler Documentation][product-docs]
@@ -95,15 +95,15 @@ console.log(`Created job: ${response.name}`);
9595

9696
## Samples
9797

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

100100
| Sample | Source Code | Try it |
101101
| --------------------------- | --------------------------------- | ------ |
102-
| App | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/app.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/app.js,samples/README.md) |
103-
| Create Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/createJob.js,samples/README.md) |
104-
| Delete Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) |
105-
| Quickstart | [source code](https://github.com/googleapis/nodejs-scheduler/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-scheduler&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
106-
| Update Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/updateJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md) |
102+
| App | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/app.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/app.js,samples/README.md) |
103+
| Create Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/createJob.js,samples/README.md) |
104+
| Delete Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) |
105+
| Quickstart | [source code](https://github.com/googleapis/nodejs-scheduler/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-scheduler&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
106+
| Update Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/updateJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md) |
107107

108108

109109

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

153153
## Contributing
154154

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

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

165165
Apache Version 2.0
166166

167-
See [LICENSE](https://github.com/googleapis/nodejs-scheduler/blob/master/LICENSE)
167+
See [LICENSE](https://github.com/googleapis/nodejs-scheduler/blob/main/LICENSE)
168168

169169
[client-docs]: https://cloud.google.com/nodejs/docs/reference/scheduler/latest
170170
[product-docs]: https://cloud.google.com/scheduler

packages/google-cloud-scheduler/samples/README.md

+5-5
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
### App
3737

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

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

@@ -54,7 +54,7 @@ __Usage:__
5454

5555
Create a job that posts to /log_payload on an App Engine service.
5656

57-
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/createJob.js).
57+
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/createJob.js).
5858

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

@@ -73,7 +73,7 @@ __Usage:__
7373

7474
Delete a job by its ID.
7575

76-
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/deleteJob.js).
76+
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/deleteJob.js).
7777

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

@@ -92,7 +92,7 @@ __Usage:__
9292

9393
POST "Hello World" to a URL every minute.
9494

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

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

@@ -111,7 +111,7 @@ __Usage:__
111111

112112
Update a job by its ID.
113113

114-
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/updateJob.js).
114+
View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/main/samples/updateJob.js).
115115

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

0 commit comments

Comments
 (0)