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

Commit 65d43f1

Browse files
author
Benjamin E. Coe
authored
fix(build): set default branch to main (#295)
1 parent da454c3 commit 65d43f1

4 files changed

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

1111

1212

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

2020
* [Secret Manager Node.js Client API Reference][client-docs]
2121
* [Secret Manager Documentation][product-docs]
@@ -110,25 +110,25 @@ createAndAccessSecret();
110110

111111
## Samples
112112

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

115115
| Sample | Source Code | Try it |
116116
| --------------------------- | --------------------------------- | ------ |
117-
| Access Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/accessSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/accessSecretVersion.js,samples/README.md) |
118-
| Add Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/addSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/addSecretVersion.js,samples/README.md) |
119-
| Create Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/createSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/createSecret.js,samples/README.md) |
120-
| Delete Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/deleteSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/deleteSecret.js,samples/README.md) |
121-
| Destroy Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/destroySecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/destroySecretVersion.js,samples/README.md) |
122-
| Disable Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/disableSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/disableSecretVersion.js,samples/README.md) |
123-
| Enable Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/enableSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/enableSecretVersion.js,samples/README.md) |
124-
| Get Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/getSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/getSecret.js,samples/README.md) |
125-
| Get Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/getSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/getSecretVersion.js,samples/README.md) |
126-
| Iam Grant Access | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/iamGrantAccess.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/iamGrantAccess.js,samples/README.md) |
127-
| Iam Revoke Access | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/iamRevokeAccess.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/iamRevokeAccess.js,samples/README.md) |
128-
| List Secret Versions | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/listSecretVersions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/listSecretVersions.js,samples/README.md) |
129-
| List Secrets | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/listSecrets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/listSecrets.js,samples/README.md) |
130-
| Quickstart | [source code](https://github.com/googleapis/nodejs-secret-manager/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-secret-manager&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
131-
| Update Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/master/samples/updateSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/updateSecret.js,samples/README.md) |
117+
| Access Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/accessSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/accessSecretVersion.js,samples/README.md) |
118+
| Add Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/addSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/addSecretVersion.js,samples/README.md) |
119+
| Create Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/createSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/createSecret.js,samples/README.md) |
120+
| Delete Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/deleteSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/deleteSecret.js,samples/README.md) |
121+
| Destroy Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/destroySecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/destroySecretVersion.js,samples/README.md) |
122+
| Disable Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/disableSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/disableSecretVersion.js,samples/README.md) |
123+
| Enable Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/enableSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/enableSecretVersion.js,samples/README.md) |
124+
| Get Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/getSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/getSecret.js,samples/README.md) |
125+
| Get Secret Version | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/getSecretVersion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/getSecretVersion.js,samples/README.md) |
126+
| Iam Grant Access | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/iamGrantAccess.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/iamGrantAccess.js,samples/README.md) |
127+
| Iam Revoke Access | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/iamRevokeAccess.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/iamRevokeAccess.js,samples/README.md) |
128+
| List Secret Versions | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/listSecretVersions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/listSecretVersions.js,samples/README.md) |
129+
| List Secrets | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/listSecrets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/listSecrets.js,samples/README.md) |
130+
| Quickstart | [source code](https://github.com/googleapis/nodejs-secret-manager/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-secret-manager&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
131+
| Update Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/updateSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/updateSecret.js,samples/README.md) |
132132

133133

134134

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

178178
## Contributing
179179

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

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

190190
Apache Version 2.0
191191

192-
See [LICENSE](https://github.com/googleapis/nodejs-secret-manager/blob/master/LICENSE)
192+
See [LICENSE](https://github.com/googleapis/nodejs-secret-manager/blob/main/LICENSE)
193193

194194
[client-docs]: https://cloud.google.com/nodejs/docs/reference/secret-manager/latest
195195
[product-docs]: https://cloud.google.com/secret-manager/docs

0 commit comments

Comments
 (0)