Skip to content

Commit

Permalink
fix(build): switch primary branch to main (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Sep 9, 2021
1 parent 773ad44 commit 9e8d6e4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/generated-files-bot.yml
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
@@ -1,7 +1,7 @@
on:
push:
branches:
- master
- main
pull_request:
name: ci
jobs:
Expand Down
12 changes: 6 additions & 6 deletions README.md
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/projectify.svg)](https://www.npmjs.org/package/@google-cloud/projectify)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-projectify/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-projectify)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-projectify/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-projectify)



Expand All @@ -15,7 +15,7 @@ A simple utility for replacing the projectid token in objects.


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

* [Google Cloud Common Projectify Node.js Client API Reference][client-docs]

Expand Down Expand Up @@ -62,11 +62,11 @@ replaceProjectIdToken(options, 'fake-project-id');

## Samples

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-projectify/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-projectify/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Quickstart | [source code](https://github.com/googleapis/nodejs-projectify/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-projectify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-projectify/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-projectify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |



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

## Contributing

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-projectify/blob/master/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-projectify/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 @@ -127,7 +127,7 @@ to its templates in

Apache Version 2.0

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

[client-docs]: https://cloud.google.com/nodejs/docs/reference/projectify/latest

Expand Down
2 changes: 1 addition & 1 deletion samples/README.md
Expand Up @@ -31,7 +31,7 @@ Before running the samples, make sure you've followed the steps outlined in

### Quickstart

View the [source code](https://github.com/googleapis/nodejs-projectify/blob/master/samples/quickstart.js).
View the [source code](https://github.com/googleapis/nodejs-projectify/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-projectify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)

Expand Down

0 comments on commit 9e8d6e4

Please sign in to comment.