Skip to content

Commit

Permalink
fix(build): set default branch to main (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Sep 10, 2021
1 parent 32e2b34 commit 9c79476
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
26 changes: 13 additions & 13 deletions packages/google-cloud-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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



Expand All @@ -15,7 +15,7 @@ Cloud Tasks API client for Node.js


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

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

## Samples

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.
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.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |



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

## Contributing

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

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

Apache Version 2.0

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

[client-docs]: https://cloud.google.com/nodejs/docs/reference/tasks/latest
[product-docs]: https://cloud.google.com/tasks/docs/
Expand Down
16 changes: 8 additions & 8 deletions packages/google-cloud-tasks/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Before running the samples, make sure you've followed the steps outlined in

Create Cloud Tasks with a HTTP Target

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTask.js).
View the [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)

Expand All @@ -59,7 +59,7 @@ __Usage:__

Create Cloud Tasks with a HTTP Target with Token

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTaskWithToken.js).
View the [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)

Expand All @@ -76,7 +76,7 @@ __Usage:__

### Create Queue

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createQueue.js).
View the [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)

Expand All @@ -95,7 +95,7 @@ __Usage:__

Create Cloud Tasks with a Google App Engine Target

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createTask.js).
View the [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)

Expand All @@ -112,7 +112,7 @@ __Usage:__

### Delete Queue

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/deleteQueue.js).
View the [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)

Expand All @@ -129,7 +129,7 @@ __Usage:__

### List Queues

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/listQueues.js).
View the [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)

Expand All @@ -146,7 +146,7 @@ __Usage:__

### Quickstart

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/quickstart.js).
View the [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)

Expand All @@ -163,7 +163,7 @@ __Usage:__

### Server

View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/server.js).
View the [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)

Expand Down

0 comments on commit 9c79476

Please sign in to comment.