Skip to content

Commit 820c3b7

Browse files
author
Simon Zeltser
authored
chore: update synth.py to exclude bot configs (#300)
Exclude blunderbuss and codeowners from autosynth. Fixes #299
1 parent e096d74 commit 820c3b7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/main/java/com/google/cloud/logging/logback/TraceLoggingEventEnhancer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static void setCurrentTraceId(String id) {
3939
public static void clearTraceId() {
4040
MDC.remove(TRACE_ID);
4141
}
42+
4243
/**
4344
* Get the Trace ID associated with any logging done by the current thread.
4445
*

synth.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818

1919
AUTOSYNTH_MULTIPLE_COMMITS = True
2020

21-
java.common_templates()
21+
java.common_templates(excludes=[
22+
'.gitignore',
23+
'.github/CODEOWNERS',
24+
'.github/blunderbuss.yml',
25+
'CONTRIBUTING.md',
26+
])

0 commit comments

Comments
 (0)