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

Commit e486ef8

Browse files
author
Benjamin E. Coe
authored
fix(build): set default branch to main (#565)
1 parent 9576e64 commit e486ef8

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

1111

1212

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

2020
* [Cloud Tasks Node.js Client API Reference][client-docs]
2121
* [Cloud Tasks Documentation][product-docs]
@@ -111,18 +111,18 @@ quickstart();
111111

112112
## Samples
113113

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

116116
| Sample | Source Code | Try it |
117117
| --------------------------- | --------------------------------- | ------ |
118-
| Cloud Tasks Create HTTP Target | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTask.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createHttpTask.js,samples/README.md) |
119-
| Cloud Tasks Create HTTP Target with Token | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTaskWithToken.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createHttpTaskWithToken.js,samples/README.md) |
120-
| Create Queue | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createQueue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createQueue.js,samples/README.md) |
121-
| Cloud Tasks Create App Engine Target | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createTask.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createTask.js,samples/README.md) |
122-
| Delete Queue | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/deleteQueue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/deleteQueue.js,samples/README.md) |
123-
| List Queues | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/listQueues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/listQueues.js,samples/README.md) |
124-
| Quickstart | [source code](https://github.com/googleapis/nodejs-tasks/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-tasks&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
125-
| Server | [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/server.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/server.js,samples/README.md) |
118+
| Cloud Tasks Create HTTP Target | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createHttpTask.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createHttpTask.js,samples/README.md) |
119+
| Cloud Tasks Create HTTP Target with Token | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createHttpTaskWithToken.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createHttpTaskWithToken.js,samples/README.md) |
120+
| Create Queue | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createQueue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createQueue.js,samples/README.md) |
121+
| Cloud Tasks Create App Engine Target | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createTask.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/createTask.js,samples/README.md) |
122+
| Delete Queue | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/deleteQueue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/deleteQueue.js,samples/README.md) |
123+
| List Queues | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/listQueues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/listQueues.js,samples/README.md) |
124+
| Quickstart | [source code](https://github.com/googleapis/nodejs-tasks/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-tasks&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
125+
| Server | [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/server.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-tasks&page=editor&open_in_editor=samples/server.js,samples/README.md) |
126126

127127

128128

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

172172
## Contributing
173173

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

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

184184
Apache Version 2.0
185185

186-
See [LICENSE](https://github.com/googleapis/nodejs-tasks/blob/master/LICENSE)
186+
See [LICENSE](https://github.com/googleapis/nodejs-tasks/blob/main/LICENSE)
187187

188188
[client-docs]: https://cloud.google.com/nodejs/docs/reference/tasks/latest
189189
[product-docs]: https://cloud.google.com/tasks/docs/

samples/README.md

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

4141
Create Cloud Tasks with a HTTP Target
4242

43-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTask.js).
43+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createHttpTask.js).
4444

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

@@ -59,7 +59,7 @@ __Usage:__
5959

6060
Create Cloud Tasks with a HTTP Target with Token
6161

62-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTaskWithToken.js).
62+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createHttpTaskWithToken.js).
6363

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

@@ -76,7 +76,7 @@ __Usage:__
7676

7777
### Create Queue
7878

79-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createQueue.js).
79+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createQueue.js).
8080

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

@@ -95,7 +95,7 @@ __Usage:__
9595

9696
Create Cloud Tasks with a Google App Engine Target
9797

98-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createTask.js).
98+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/createTask.js).
9999

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

@@ -112,7 +112,7 @@ __Usage:__
112112

113113
### Delete Queue
114114

115-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/deleteQueue.js).
115+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/deleteQueue.js).
116116

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

@@ -129,7 +129,7 @@ __Usage:__
129129

130130
### List Queues
131131

132-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/listQueues.js).
132+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/listQueues.js).
133133

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

@@ -146,7 +146,7 @@ __Usage:__
146146

147147
### Quickstart
148148

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

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

@@ -163,7 +163,7 @@ __Usage:__
163163

164164
### Server
165165

166-
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/server.js).
166+
View the [source code](https://github.com/googleapis/nodejs-tasks/blob/main/samples/server.js).
167167

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

0 commit comments

Comments
 (0)