From 04573fd73f56791c659832aa84d35a4ec860d6f7 Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Tue, 27 Apr 2021 15:33:07 -0700 Subject: [PATCH] build: Add `generate-files-bot` config (#1061) --- .../node_library/.github/generated-files-bot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 synthtool/gcp/templates/node_library/.github/generated-files-bot.yml diff --git a/synthtool/gcp/templates/node_library/.github/generated-files-bot.yml b/synthtool/gcp/templates/node_library/.github/generated-files-bot.yml new file mode 100644 index 000000000..1b3ef1c78 --- /dev/null +++ b/synthtool/gcp/templates/node_library/.github/generated-files-bot.yml @@ -0,0 +1,13 @@ +generatedFiles: +- path: '.kokoro/**' + message: '`.kokoro` files are templated and should be updated in [`synthtool`](https://github.com/googleapis/synthtool)' +- path: '.github/CODEOWNERS' + message: 'CODEOWNERS should instead be modified via the `codeowner_team` property in .repo-metadata.json' +- path: '.github/workflows/**' + message: '`.github/workflows` (GitHub Actions) should be updated in [`synthtool`](https://github.com/googleapis/synthtool)' +- path: '.github/generated-files-bot.+(yml|yaml)' + message: '`.github/generated-files-bot.(yml|yaml)` should be updated in [`synthtool`](https://github.com/googleapis/synthtool)' +- path: 'README.md' + message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml' +- path: 'samples/README.md' + message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'