aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsofisl <55454395+sofisl@users.noreply.github.com>2021-12-08 07:51:25 -0800
committerGitHub <noreply@github.com>2021-12-08 10:51:25 -0500
commit0f2e2a13bf8f4e4150fed1f79cf995309ddc34f1 (patch)
treedc42579a6f89b44b5b53ab07b9157c0d1f1e9e56
parent36c458798da1b00d1bf721fd185412d63086b0d9 (diff)
downloadgoogle-api-python-client-0f2e2a13bf8f4e4150fed1f79cf995309ddc34f1.tar.gz
build: update auto approve (#1621)
* build: upgrade auto-approve.yml file * remove extra line Co-authored-by: Anthonios Partheniou <partheniou@google.com>
-rw-r--r--.github/auto-approve.yml21
1 files changed, 3 insertions, 18 deletions
diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml
index c163c0811..7e10d45cc 100644
--- a/.github/auto-approve.yml
+++ b/.github/auto-approve.yml
@@ -1,20 +1,5 @@
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve
-rules:
-
-# incoming PRs from yoshi-code-bot
-- author: "yoshi-code-bot"
-
-# Title for PRs from yoshi-code-bot MUST start with `chore: Update discovery artifacts`.
-# Title must be regex.
- title: "^chore: Update discovery artifacts"
-
-# The only changed file paths in an incoming PR MUST be exactly
-# `"^docs/dyn/index.md$"` or follow either one of these patterns `"docs/dyn/*.html"`
-# or `"googleapiclient/discovery_cache/documents/*.json"` . These are
-# listed in regex. If this property is omitted, auto-approve bot will allow PRs
-# that match the author and title to merge, without checking the file paths.
- changedFiles:
- - "^docs/dyn/index.md$"
- - "^docs/dyn/.*\\.html$"
- - "^googleapiclient/discovery_cache/documents/.*\\.json$"
+processes:
+ - "UpdateDiscoveryArtifacts"
+ - "OwlBotTemplateChanges"