Skip to content

Commit dcdadf9

Browse files
committed
fix(build): migrate to using main branch
1 parent 6f15b4a commit dcdadf9

File tree

40 files changed

+40
-40
lines changed

40 files changed

+40
-40
lines changed

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

.kokoro/build-with-appengine.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ trap cleanup EXIT HUP
6161
# Install dependencies and run tests
6262
npm install
6363

64-
# If tests are running against master, configure FlakyBot
64+
# If tests are running against main, configure FlakyBot
6565
# to open issues on failures:
6666
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then
6767
export MOCHA_REPORTER_SUITENAME=${PROJECT}

.kokoro/build-with-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export SERVICE_NAME="${SAMPLE_NAME}-${SUFFIX}"
6262
export NODE_ENV=development
6363
npm install
6464

65-
# If tests are running against master, configure FlakyBot
65+
# If tests are running against main, configure FlakyBot
6666
# to open issues on failures:
6767
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then
6868
export MOCHA_REPORTER_SUITENAME=${PROJECT}

.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ if [[ $SQL_CLIENT ]]; then
126126
fi
127127
fi
128128

129-
# If tests are running against master, configure FlakyBot
129+
# If tests are running against main, configure FlakyBot
130130
# to open issues on failures:
131131
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then
132132
export MOCHA_REPORTER_SUITENAME=${PROJECT}

.kokoro/region-tags-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo '================================================================='
2626

2727
# Fetch XUnit CI enforcer script
2828
# curl-ing it ensures we get the latest version
29-
curl "https://raw.githubusercontent.com/GoogleCloudPlatform/repo-automation-playground/master/xunit-ci-enforcer/region_tag_enforcer.sh" > enforcer.sh
29+
curl "https://raw.githubusercontent.com/GoogleCloudPlatform/repo-automation-playground/main/xunit-ci-enforcer/region_tag_enforcer.sh" > enforcer.sh
3030
chmod +x enforcer.sh
3131

3232
# Run enforcer on appropriate directories

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ need to enable the appropriate APIs in the [Cloud Console](https://console.cloud
2626

2727
All samples must have tests. We use `mocha` as testing framework.
2828

29-
Add a **build configuration file (`.cfg`)** for your samples in **[`.kokoro/`](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/.kokoro)**. Check existing config files for the right format.
29+
Add a **build configuration file (`.cfg`)** for your samples in **[`.kokoro/`](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/.kokoro)**. Check existing config files for the right format.
3030

3131
All tests need a corresponding job file outside of GitHub. If you are a Googler, please provide the CL alongside your PR. See the internal codelab for Kokoro for details. If you don't work at Google, the person reviewing your PR will create the job config for you.
3232

appengine/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ View the [Community-contributed App Engine Node.js samples][community_samples].
102102
[sdk]: https://cloud.google.com/sdk/
103103
[console]: https://console.cloud.google.com
104104
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
105-
[official_samples]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine
105+
[official_samples]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/appengine
106106
[community_samples]: https://cloud.google.com/community/tutorials/?q=%22Node.js%22

appengine/analytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ See [Contributing][contributing].
5151
[std-tutorial]: https://cloud.google.com/appengine/docs/standard/nodejs/integrating-with-analytics
5252
[readme]: ../README.md
5353
[tracking]: https://support.google.com/analytics/answer/1042508
54-
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/CONTRIBUTING.md
54+
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/main/CONTRIBUTING.md

appengine/building-an-app/build/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ See [Contributing][contributing].
3535
[appengine]: https://cloud.google.com/appengine/docs/standard/nodejs
3636
[tutorial]: https://cloud.google.com/appengine/docs/standard/nodejs/building-app/writing-web-service
3737
[readme]: ../../README.md
38-
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/CONTRIBUTING.md
38+
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/main/CONTRIBUTING.md

appengine/building-an-app/update/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ See [Contributing][contributing].
3535
[appengine]: https://cloud.google.com/appengine/docs/standard/nodejs
3636
[tutorial]: https://cloud.google.com/appengine/docs/standard/nodejs/building-app/updating-web-service
3737
[readme]: ../../README.md
38-
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/CONTRIBUTING.md
38+
[contributing]: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/main/CONTRIBUTING.md

0 commit comments

Comments
 (0)