Skip to content

Commit 8b65c93

Browse files
authored
chore: removing owlbot directives for conversion to main (googleapis#272)
chore: removing owlbot directives for conversion to main
1 parent 4679219 commit 8b65c93

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:1456ea2b3b523ccff5e13030acef56d1de28f21249c62aa0f196265880338fa7
3+
digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d

owlbot.py

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -44,49 +44,4 @@
4444
""",
4545
)
4646

47-
# Remove the replacements below once https://github.com/googleapis/synthtool/pull/1188 is merged
48-
49-
# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files
50-
s.replace(
51-
".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main"
52-
)
53-
54-
# Customize CONTRIBUTING.rst to replace master with main
55-
s.replace(
56-
"CONTRIBUTING.rst",
57-
"fetch and merge changes from upstream into master",
58-
"fetch and merge changes from upstream into main",
59-
)
60-
61-
s.replace(
62-
"CONTRIBUTING.rst", "git merge upstream/master", "git merge upstream/main",
63-
)
64-
65-
s.replace(
66-
"CONTRIBUTING.rst",
67-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""",
68-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""",
69-
)
70-
71-
s.replace(
72-
"CONTRIBUTING.rst", r"remote \(``master``\)", "remote (``main``)",
73-
)
74-
75-
s.replace(
76-
"CONTRIBUTING.rst", "blob/master/CONTRIBUTING.rst", "blob/main/CONTRIBUTING.rst",
77-
)
78-
79-
s.replace(
80-
"CONTRIBUTING.rst", "blob/master/noxfile.py", "blob/main/noxfile.py",
81-
)
82-
83-
s.replace(
84-
"docs/conf.py", "master_doc", "root_doc",
85-
)
86-
87-
s.replace(
88-
"docs/conf.py", "# The master toctree document.", "# The root toctree document.",
89-
)
90-
91-
9247
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)