Skip to content

Commit

Permalink
chore(python): Enable size-label bot (#47)
Browse files Browse the repository at this point in the history
* chore(python): Enable size-label bot

Source-Link: googleapis/synthtool@06e8279
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:b3500c053313dc34e07b1632ba9e4e589f4f77036a7cf39e1fe8906811ae0fce

* use click<8.1.0 for lint

* chore: add custom sync repo settings

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Apr 3, 2022
1 parent ca1c13f commit c3d8912
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/google-cloud-audit-log/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6
digest: sha256:b3500c053313dc34e07b1632ba9e4e589f4f77036a7cf39e1fe8906811ae0fce
# created: 2022-04-01T01:42:03.609279246Z
2 changes: 2 additions & 0 deletions packages/google-cloud-audit-log/.github/auto-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requestsize:
enabled: true
23 changes: 23 additions & 0 deletions packages/google-cloud-audit-log/.github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings
# Rules for main branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `main`
- pattern: main
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: true
requiredStatusCheckContexts:
- 'Kokoro'
- 'cla/google'
- 'OwlBot Post Processor'
permissionRules:
- team: actools-python
permission: admin
- team: actools
permission: admin
- team: yoshi-python
permission: push
- team: python-samples-owners
permission: push
- team: python-samples-reviewers
permission: push
2 changes: 1 addition & 1 deletion packages/google-cloud-audit-log/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def blacken(session):
That run uses an image that doesn't have 3.6 installed. Before updating this
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install(BLACK_VERSION)
session.install(BLACK_VERSION, "click<8.1.0")
session.run("black", "google", "setup.py")


Expand Down

0 comments on commit c3d8912

Please sign in to comment.