Skip to content

Commit 00f6fcd

Browse files
chore: regenerate common templates (#307)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore(java): enable generated-files-bot This bot will comment on pull requests that modify templated files. For java, we configure to read from our 2 synth.metadata files: (primary templates and README) Source-Author: Jeff Ching <chingor@google.com> Source-Date: Fri Oct 30 14:22:02 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: b19b401571e77192f8dd38eab5fb2300a0de9324 Source-Link: googleapis/synthtool@b19b401
1 parent cc4b57f commit 00f6fcd

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
**/*.java @googleapis/api-logging
1010

1111
# The java-samples-reviewers team is the default owner for samples changes
12-
samples/**/*.java @googleapis/java-samples-reviewers @googleapis/api-logging
12+
samples/**/*.java @googleapis/java-samples-reviewers

.github/generated-files-bot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
externalManifests:
2+
- type: json
3+
file: 'synth.metadata'
4+
jsonpath: '$.generatedFiles[*]'
5+
- type: json
6+
file: '.github/readme/synth.metadata/synth.metadata'
7+
jsonpath: '$.generatedFiles[*]'

synth.metadata

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-logging.git",
7-
"sha": "c2d16da4417da049af0c78f779c18163f985618b"
7+
"sha": "71e30f69e60d93fa4074cd254bcebb8e7eb6e9b8"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e"
22+
"sha": "b19b401571e77192f8dd38eab5fb2300a0de9324"
2323
}
2424
}
2525
],
@@ -40,6 +40,7 @@
4040
".github/ISSUE_TEMPLATE/feature_request.md",
4141
".github/ISSUE_TEMPLATE/support_request.md",
4242
".github/PULL_REQUEST_TEMPLATE.md",
43+
".github/generated-files-bot.yml",
4344
".github/readme/synth.py",
4445
".github/release-please.yml",
4546
".github/snippet-bot.yml",

0 commit comments

Comments
 (0)