diff options
author | nicain <nicain.seattle@gmail.com> | 2021-09-02 17:50:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 00:50:25 +0000 |
commit | 8b65c93aef908c99784200b73ad270a0591481a8 (patch) | |
tree | bb91c89a03e359b9026b575167af4677db79b576 | |
parent | 4679219fc1b95bed7f63f6da3b4c0095d359db05 (diff) | |
download | python-api-core-8b65c93aef908c99784200b73ad270a0591481a8.tar.gz |
chore: removing owlbot directives for conversion to main (#272)
chore: removing owlbot directives for conversion to main
-rw-r--r-- | .github/.OwlBot.lock.yaml | 2 | ||||
-rw-r--r-- | owlbot.py | 45 |
2 files changed, 1 insertions, 46 deletions
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index ef3cb34..c07f148 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-python:latest - digest: sha256:1456ea2b3b523ccff5e13030acef56d1de28f21249c62aa0f196265880338fa7 + digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d @@ -44,49 +44,4 @@ s.replace( """, ) -# Remove the replacements below once https://github.com/googleapis/synthtool/pull/1188 is merged - -# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files -s.replace( - ".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main" -) - -# Customize CONTRIBUTING.rst to replace master with main -s.replace( - "CONTRIBUTING.rst", - "fetch and merge changes from upstream into master", - "fetch and merge changes from upstream into main", -) - -s.replace( - "CONTRIBUTING.rst", "git merge upstream/master", "git merge upstream/main", -) - -s.replace( - "CONTRIBUTING.rst", - """export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""", - """export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""", -) - -s.replace( - "CONTRIBUTING.rst", r"remote \(``master``\)", "remote (``main``)", -) - -s.replace( - "CONTRIBUTING.rst", "blob/master/CONTRIBUTING.rst", "blob/main/CONTRIBUTING.rst", -) - -s.replace( - "CONTRIBUTING.rst", "blob/master/noxfile.py", "blob/main/noxfile.py", -) - -s.replace( - "docs/conf.py", "master_doc", "root_doc", -) - -s.replace( - "docs/conf.py", "# The master toctree document.", "# The root toctree document.", -) - - s.shell.run(["nox", "-s", "blacken"], hide_output=False) |