From c4bf1cc473110af1de267f1ab55ab00308e2a02a Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Wed, 12 Oct 2022 18:53:20 -0700 Subject: [PATCH] build: update README for deprecation notice (#419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build: update README for deprecation notice and delete all files except samples * Update owlbot.py * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .github/release-please.yml | 3 +-- README.md | 1 + owlbot.py | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index 59d9cde7..a1b41da3 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1,3 +1,2 @@ -releaseType: node -primaryBranch: main handleGHRelease: true +releaseType: node diff --git a/README.md b/README.md index bffc84f1..2720c60c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +'**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-phishingprotection)_**' [//]: # "This README.md file is auto-generated, all changes to this file will be lost." [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo diff --git a/owlbot.py b/owlbot.py index e6f45149..035d34c4 100644 --- a/owlbot.py +++ b/owlbot.py @@ -1,6 +1,6 @@ -# Copyright 2021 Google LLC +# Copyright 2022 Google LLC # -# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -14,4 +14,6 @@ import synthtool.languages.node as node -node.owlbot_main(templates_excludes=[".github/release-please.yml"]) +node.owlbot_main(templates_excludes=[ +'README.md' +])