diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f01d9b57..7fdb2bbc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,5 +5,5 @@ # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax -# The yoshi-nodejs team is the default owner for nodejs repositories. -* @googleapis/yoshi-nodejs @jsteam +# Unless specified, the jsteam is the default owner for nodejs repositories. +* @googleapis/yoshi-nodejs @googleapis/jsteam \ No newline at end of file diff --git a/.github/auto-label.yaml b/.github/auto-label.yaml index ccad49b4..09c8d735 100644 --- a/.github/auto-label.yaml +++ b/.github/auto-label.yaml @@ -1,19 +1,2 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. requestsize: enabled: true -staleness: - pullrequest: true - old: 30 - extraold: 60 diff --git a/.github/release-please.yml b/.github/release-please.yml index d544995e..a1b41da3 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1,3 +1,2 @@ handleGHRelease: true releaseType: node -extraFiles: ["src/index.ts"] diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 1350faef..b46e4c4d 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -7,7 +7,6 @@ branchProtectionRules: requiredStatusCheckContexts: - "ci/kokoro: Samples test" - "ci/kokoro: System test" - - docs - lint - test (14) - test (16) diff --git a/.kokoro/common.cfg b/.kokoro/common.cfg index b850d2bf..a601dcbe 100644 --- a/.kokoro/common.cfg +++ b/.kokoro/common.cfg @@ -22,23 +22,3 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/nodejs-logging-bunyan/.kokoro/test.sh" } - - -############################################# -# this section merged from .kokoro/common_env_vars.cfg using owlbot.py - -env_vars: { - key: "PRODUCT_AREA_LABEL" - value: "observability" -} -env_vars: { - key: "PRODUCT_LABEL" - value: "logging" -} -env_vars: { - key: "LANGUAGE_LABEL" - value: "nodejs" -} - -################################################### - diff --git a/.kokoro/continuous/node14/common.cfg b/.kokoro/continuous/node14/common.cfg index b850d2bf..a601dcbe 100644 --- a/.kokoro/continuous/node14/common.cfg +++ b/.kokoro/continuous/node14/common.cfg @@ -22,23 +22,3 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/nodejs-logging-bunyan/.kokoro/test.sh" } - - -############################################# -# this section merged from .kokoro/common_env_vars.cfg using owlbot.py - -env_vars: { - key: "PRODUCT_AREA_LABEL" - value: "observability" -} -env_vars: { - key: "PRODUCT_LABEL" - value: "logging" -} -env_vars: { - key: "LANGUAGE_LABEL" - value: "nodejs" -} - -################################################### - diff --git a/owlbot.py b/owlbot.py index 9f257c3b..43520984 100644 --- a/owlbot.py +++ b/owlbot.py @@ -50,3 +50,20 @@ file_path, merge=lambda src, dst, _, : f"{dst}\n{src}", ) +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the License); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +import synthtool.languages.node as node +node.owlbot_main(templates_excludes=[ +'README.md' +])