From 0f2e2a13bf8f4e4150fed1f79cf995309ddc34f1 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Wed, 8 Dec 2021 07:51:25 -0800 Subject: build: update auto approve (#1621) * build: upgrade auto-approve.yml file * remove extra line Co-authored-by: Anthonios Partheniou --- .github/auto-approve.yml | 21 +++------------------ 1 file 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" -- cgit v1.2.3