From 90eb413a006885fae30e78ff5865be36f50fc169 Mon Sep 17 00:00:00 2001 From: bcoe Date: Fri, 10 Sep 2021 09:23:32 -0700 Subject: [PATCH 1/2] fix(build): set default branch to main From eaf6fe31b83377795047c5ca0430bb2528661809 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 10 Sep 2021 16:32:30 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/generated-files-bot.yml | 4 ++-- .github/workflows/ci.yaml | 2 +- README.md | 20 ++++++++++---------- samples/README.md | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml index 7bb7ce54..992ccef4 100644 --- a/.github/generated-files-bot.yml +++ b/.github/generated-files-bot.yml @@ -8,9 +8,9 @@ generatedFiles: - path: '.github/generated-files-bot.+(yml|yaml)' message: '`.github/generated-files-bot.(yml|yaml)` should be updated in [`synthtool`](https://github.com/googleapis/synthtool)' - path: 'README.md' - 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' + 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' - path: 'samples/README.md' - 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' + 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' ignoreAuthors: - 'gcf-owl-bot[bot]' - 'yoshi-automation' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f033c0d2..36dbfb21 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: ci jobs: diff --git a/README.md b/README.md index 87f7dae8..f076b1b3 100644 --- a/README.md +++ b/README.md @@ -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/text-to-speech.svg)](https://www.npmjs.org/package/@google-cloud/text-to-speech) -[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-text-to-speech/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-text-to-speech) +[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-text-to-speech/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-text-to-speech) @@ -15,7 +15,7 @@ Cloud Text-to-Speech API client for Node.js A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/nodejs-text-to-speech/blob/master/CHANGELOG.md). +[the CHANGELOG](https://github.com/googleapis/nodejs-text-to-speech/blob/main/CHANGELOG.md). * [Google Cloud Text-to-Speech Node.js Client API Reference][client-docs] * [Google Cloud Text-to-Speech Documentation][product-docs] @@ -94,15 +94,15 @@ quickStart(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/nodejs-text-to-speech/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-text-to-speech/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| Audio Profile | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/audioProfile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/audioProfile.js,samples/README.md) | -| List Voices | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/listVoices.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/listVoices.js,samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/nodejs-text-to-speech/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-text-to-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | -| Ssml Addresses | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/ssmlAddresses.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/ssmlAddresses.js,samples/README.md) | -| Synthesize | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/synthesize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/synthesize.js,samples/README.md) | +| Audio Profile | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/audioProfile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/audioProfile.js,samples/README.md) | +| List Voices | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/listVoices.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/listVoices.js,samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/nodejs-text-to-speech/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-text-to-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | +| Ssml Addresses | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/ssmlAddresses.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/ssmlAddresses.js,samples/README.md) | +| Synthesize | [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/synthesize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/synthesize.js,samples/README.md) | @@ -151,7 +151,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages] ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-text-to-speech/blob/master/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-text-to-speech/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`) @@ -163,7 +163,7 @@ to its templates in Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/nodejs-text-to-speech/blob/master/LICENSE) +See [LICENSE](https://github.com/googleapis/nodejs-text-to-speech/blob/main/LICENSE) [client-docs]: https://googleapis.dev/nodejs/text-to-speech/latest [product-docs]: https://cloud.google.com/text-to-speech diff --git a/samples/README.md b/samples/README.md index 3ef0c333..077213b3 100644 --- a/samples/README.md +++ b/samples/README.md @@ -35,7 +35,7 @@ Before running the samples, make sure you've followed the steps outlined in ### Audio Profile -View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/audioProfile.js). +View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/audioProfile.js). [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/audioProfile.js,samples/README.md) @@ -52,7 +52,7 @@ __Usage:__ ### List Voices -View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/listVoices.js). +View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/listVoices.js). [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/listVoices.js,samples/README.md) @@ -69,7 +69,7 @@ __Usage:__ ### Quickstart -View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/quickstart.js). +View the [source code](https://github.com/googleapis/nodejs-text-to-speech/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-text-to-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) @@ -86,7 +86,7 @@ __Usage:__ ### Ssml Addresses -View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/ssmlAddresses.js). +View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/ssmlAddresses.js). [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/ssmlAddresses.js,samples/README.md) @@ -103,7 +103,7 @@ __Usage:__ ### Synthesize -View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/synthesize.js). +View the [source code](https://github.com/googleapis/nodejs-text-to-speech/blob/main/samples/synthesize.js). [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/synthesize.js,samples/README.md)