Skip to content

Commit

Permalink
chore: removing owlbot directives for conversion to main (#84)
Browse files Browse the repository at this point in the history
* chore: removing owlbot directives for conversion to main

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
nicain and gcf-owl-bot[bot] authored Sep 1, 2021
1 parent e99312a commit 67b837c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
digest: sha256:1456ea2b3b523ccff5e13030acef56d1de28f21249c62aa0f196265880338fa7
digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d
6 changes: 3 additions & 3 deletions packages/google-cloud-access-context-manager/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ Coding Style
export GOOGLE_CLOUD_TESTING_BRANCH="main"

By doing this, you are specifying the location of the most up-to-date
version of ``python-access-context-manager``. The the suggested remote name ``upstream``
should point to the official ``googleapis`` checkout and the
the branch should be the main branch on that remote (``main``).
version of ``python-access-context-manager``. The
remote name ``upstream`` should point to the official ``googleapis``
checkout and the branch should be the default branch on that remote (``main``).

- This repository contains configuration for the
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-access-context-manager/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The main toctree document.
# The root toctree document.
root_doc = "index"

# General information about the project.
Expand Down
30 changes: 0 additions & 30 deletions packages/google-cloud-access-context-manager/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,33 +183,3 @@ def generate_protos(session):
PB2_GRPC_HEADER,
fr"{LICENSE}\n\n\g<1>\n\n\g<2>", # add line breaks to avoid stacking replacements
)

s.replace(
"CONTRIBUTING.rst",
"master",
"main"
)

s.replace(
"CONTRIBUTING.rst",
"https://github.com/kubernetes/community/blob/main/",
"https://github.com/kubernetes/community/blob/master/"
)

s.replace(
"docs/conf.py",
"master",
"main"
)

s.replace(
"docs/conf.py",
"main_doc",
"root_doc"
)

s.replace(
".kokoro/*",
"master",
"main"
)

0 comments on commit 67b837c

Please sign in to comment.