Skip to content

Commit 97a05ac

Browse files
authored
chore: change branch master to main in github configurations (#550)
1 parent d9deb7d commit 97a05ac

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rebaseMergeAllowed: false
22
squashMergeAllowed: true
33
mergeCommitAllowed: false
44
branchProtectionRules:
5-
- pattern: master
5+
- pattern: main
66
isAdminEnforced: true
77
requiredApprovingReviewCount: 1
88
requiresCodeOwnerReviews: true

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -213,27 +213,27 @@ Testing
213213

214214
This library has tools to help write tests for code that uses the Datastore.
215215

216-
See [TESTING.md](https://github.com/googleapis/google-cloud-java/blob/master/TESTING.md#testing-code-that-uses-datastore) to read more about testing.
216+
See [TESTING.md](https://github.com/googleapis/google-cloud-java/blob/main/TESTING.md#testing-code-that-uses-datastore) to read more about testing.
217217

218218
Example Applications
219219
--------------------
220-
- [`Bookshelf`](https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/bookshelf) - An App Engine app that manages a virtual bookshelf.
220+
- [`Bookshelf`](https://github.com/GoogleCloudPlatform/getting-started-java/tree/main/bookshelf) - An App Engine app that manages a virtual bookshelf.
221221
- This app uses `google-cloud` to interface with Cloud Datastore and Cloud Storage. It also uses Cloud SQL, another Google Cloud Platform service.
222-
- [`Flexible Environment/Datastore example`](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/flexible/datastore) - A simple app that uses Cloud Datastore to list the last 10 IP addresses that visited your site.
223-
- [`SparkDemo`](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/flexible/sparkjava) - An example of using `google-cloud-datastore` from within the SparkJava and App Engine Flexible Environment frameworks.
224-
- Read about how it works on the example's [README page](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/flexible/sparkjava#how-does-it-work).
222+
- [`Flexible Environment/Datastore example`](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/flexible/datastore) - A simple app that uses Cloud Datastore to list the last 10 IP addresses that visited your site.
223+
- [`SparkDemo`](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/flexible/sparkjava) - An example of using `google-cloud-datastore` from within the SparkJava and App Engine Flexible Environment frameworks.
224+
- Read about how it works on the example's [README page](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/flexible/sparkjava#how-does-it-work).
225225

226226

227227

228228

229229
## Samples
230230

231-
Samples are in the [`samples/`](https://github.com/googleapis/java-datastore/tree/master/samples) directory.
231+
Samples are in the [`samples/`](https://github.com/googleapis/java-datastore/tree/main/samples) directory.
232232

233233
| Sample | Source Code | Try it |
234234
| --------------------------- | --------------------------------- | ------ |
235-
| Quickstart Sample | [source code](https://github.com/googleapis/java-datastore/blob/master/samples/snippets/src/main/java/com/example/datastore/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/QuickstartSample.java) |
236-
| Task List | [source code](https://github.com/googleapis/java-datastore/blob/master/samples/snippets/src/main/java/com/google/datastore/snippets/TaskList.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/google/datastore/snippets/TaskList.java) |
235+
| Quickstart Sample | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/QuickstartSample.java) |
236+
| Task List | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/google/datastore/snippets/TaskList.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/google/datastore/snippets/TaskList.java) |
237237

238238

239239

@@ -342,10 +342,10 @@ Java is a registered trademark of Oracle and/or its affiliates.
342342
[developer-console]: https://console.developers.google.com/
343343
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
344344
[cloud-sdk]: https://cloud.google.com/sdk/
345-
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting
346-
[contributing]: https://github.com/googleapis/java-datastore/blob/master/CONTRIBUTING.md
347-
[code-of-conduct]: https://github.com/googleapis/java-datastore/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct
348-
[license]: https://github.com/googleapis/java-datastore/blob/master/LICENSE
345+
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
346+
[contributing]: https://github.com/googleapis/java-datastore/blob/main/CONTRIBUTING.md
347+
[code-of-conduct]: https://github.com/googleapis/java-datastore/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
348+
[license]: https://github.com/googleapis/java-datastore/blob/main/LICENSE
349349

350350
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com
351351
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM

0 commit comments

Comments
 (0)