Skip to content

Commit 3cc3c1c

Browse files
committed
chore(java-bigquerystorage): migrate owlbot.py
1 parent e55d089 commit 3cc3c1c

File tree

1 file changed

+13
-23
lines changed

1 file changed

+13
-23
lines changed

java-bigquerystorage/owlbot.py

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2021 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -15,31 +15,21 @@
1515
import synthtool as s
1616
from synthtool.languages import java
1717

18-
1918
for library in s.get_staging_dirs():
2019
# put any special-case replacements here
2120
s.move(library)
2221

2322
s.remove_staging_dirs()
24-
java.common_templates(
25-
excludes=[
23+
java.common_templates(monorepo=True, excludes=[
24+
".github/*",
25+
".gitignore",
26+
".kokoro/*",
27+
"CODE_OF_CONDUCT.md",
28+
"CONTRIBUTING.md",
29+
"LICENSE",
30+
"SECURITY.md",
31+
"java.header",
32+
"license-checks.xml",
2633
"renovate.json",
27-
".kokoro/build.sh",
28-
".kokoro/nightly/retry_non_quota.cfg",
29-
".kokoro/nightly/retry_quota.cfg",
30-
".kokoro/nightly/samples.cfg",
31-
".kokoro/presubmit/samples.cfg",
32-
".kokoro/presubmit/graalvm-native-17.cfg",
33-
".kokoro/presubmit/graalvm-native.cfg",
34-
".kokoro/presubmit/graalvm-native-a.cfg",
35-
".kokoro/presubmit/graalvm-native-b.cfg",
36-
".kokoro/presubmit/graalvm-native-c.cfg",
37-
".kokoro/dependencies.sh",
38-
".github/workflows/approve-readme.yaml",
39-
".github/workflows/auto-release.yaml",
40-
".github/workflows/ci.yaml",
41-
".github/workflows/samples.yaml"
42-
".kokoro/requirements.in",
43-
".kokoro/requirements.txt"
44-
]
45-
)
34+
"samples/*"
35+
])

0 commit comments

Comments
 (0)