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

Commit 2e1199d

Browse files
committed
update owlbot
1 parent f24f273 commit 2e1199d

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

owlbot.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@
9797
)
9898
s.move(templated_files, excludes=[".coveragerc"]) # microgenerator has a good .coveragerc file
9999

100+
# ----------------------------------------------------------------------------
101+
# master --> main edits; context: https://github.com/googleapis/google-cloud-python/issues/10579
102+
# ----------------------------------------------------------------------------
103+
100104
s.replace(
101105
"docs/conf.py",
102106
"master_doc",
@@ -109,6 +113,39 @@
109113
"# The root toctree document.",
110114
)
111115

116+
s.replace(
117+
".kokoro/test-samples-impl.sh",
118+
"https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.",
119+
"https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.",
120+
)
121+
122+
s.replace(
123+
".kokoro/build.sh",
124+
"https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.",
125+
"https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.",
126+
)
127+
128+
s.replace(
129+
"CONTRIBUTING.rst",
130+
"master",
131+
"main",
132+
)
133+
134+
# Revert the change from above, because kubernetes is still using master:
135+
s.replace(
136+
"CONTRIBUTING.rst",
137+
r"https://github.com/kubernetes/community/blob/main/contributors/guide/pull-requests.md#best-practices-for-faster-reviews",
138+
r"https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews",
139+
)
140+
141+
142+
143+
144+
145+
146+
147+
/usr/local/google/home/nicholascain/python-monitoring/.kokoro/test-samples-impl.sh
148+
112149
# ----------------------------------------------------------------------------
113150
# Samples templates
114151
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)