Skip to content

Commit

Permalink
build: add auto-approve to Node libraries (#1100) (#232)
Browse files Browse the repository at this point in the history
* build: add auto-approve to Node libraries

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Source-Link: googleapis/synthtool@5cae043
Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:65aa68f2242c172345d7c1e780bced839bfdc344955d6aa460aa63b4481d93e5

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
4 people committed Jun 10, 2021
1 parent 39daa45 commit 9337edd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 52 deletions.
5 changes: 2 additions & 3 deletions .github/.OwlBot.lock.yaml
@@ -1,4 +1,3 @@
docker:
digest: sha256:f556e6e7be625deb1b2429fe608df27be57185c3e6b7d39ee0059f1609f17530
image: gcr.io/repo-automation-bots/owlbot-nodejs:latest

image: gcr.io/repo-automation-bots/owlbot-nodejs:latest
digest: sha256:65aa68f2242c172345d7c1e780bced839bfdc344955d6aa460aa63b4481d93e5
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -7,3 +7,6 @@

# The yoshi-nodejs team is the default owner for nodejs repositories.
* @googleapis/yoshi-nodejs

# The github automation team is the default owner for the auto-approve file.
.github/auto-approve.yml @googleapis/github-automation
7 changes: 7 additions & 0 deletions .github/auto-approve.yml
@@ -0,0 +1,7 @@
rules:
- author: "release-please[bot]"
title: "^chore: release"
changedFiles:
- "package\\.json$"
- "CHANGELOG\\.md$"
maxFiles: 3
4 changes: 2 additions & 2 deletions .github/generated-files-bot.yml
Expand Up @@ -3,8 +3,8 @@ generatedFiles:
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/workflows/ci.yaml'
message: '`.github/workflows/ci.yaml` (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'
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/docs-devsite.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 3 additions & 45 deletions .kokoro/release/docs-devsite.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .trampolinerc
Expand Up @@ -20,7 +20,8 @@ required_envvars+=(

# Add env vars which are passed down into the container here.
pass_down_envvars+=(
"AUTORELEASE_PR"
"AUTORELEASE_PR",
"VERSION"
)

# Prevent unintentional override on the default image.
Expand Down

0 comments on commit 9337edd

Please sign in to comment.