Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

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

Source-Author: Daniel Bankhead <[email protected]>
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 <[email protected]>
Source-Date: Tue Apr 27 15:41:40 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: e6f3d54be015a394b6ab5a25903ec09062a2b424
Source-Link: googleapis/synthtool@e6f3d54

Co-authored-by: Sameena Shaffeeullah <[email protected]>
  • Loading branch information
yoshi-automation and shaffeeullah authored May 3, 2021
1 parent 9b9ecce commit db3b440
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/gcs-resumable-upload.git",
"sha": "47ca6c3bfa4df2137334646cca23052796a30385"
"sha": "252de9227a66f92b8986fd5077d4afccfd6bd5e7"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "c6706ee5d693e9ae5967614170732646590d8374"
"sha": "e6f3d54be015a394b6ab5a25903ec09062a2b424"
}
}
]
Expand Down

0 comments on commit db3b440

Please sign in to comment.