Skip to content

Commit

Permalink
build: Add generate-files-bot config (#950)
Browse files Browse the repository at this point in the history
* build: Add `generate-files-bot` config

Source-Author: Daniel Bankhead <dan@danielbankhead.com>
Source-Date: Tue Apr 27 15:33:07 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 04573fd73f56791c659832aa84d35a4ec860d6f7
Source-Link: googleapis/synthtool@04573fd

* build(node): switch $default-branch with template variable

Source-Author: Benjamin E. Coe <bencoe@google.com>
Source-Date: Tue Apr 27 15:41:40 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: e6f3d54be015a394b6ab5a25903ec09062a2b424
Source-Link: googleapis/synthtool@e6f3d54
  • Loading branch information
yoshi-automation committed Apr 28, 2021
1 parent 5e87d22 commit cf4cc57
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .github/generated-files-bot.yml
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- $default-branch
- master
pull_request:
name: ci
jobs:
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-bigquery.git",
"sha": "4e69bae0fb76cf7df16ddd76c1424011e1a439e6"
"sha": "5e87d2277a83cdc88668772b496c69411b8bbaa9"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "c6706ee5d693e9ae5967614170732646590d8374"
"sha": "e6f3d54be015a394b6ab5a25903ec09062a2b424"
}
}
]
Expand Down

0 comments on commit cf4cc57

Please sign in to comment.