Skip to content

Commit

Permalink
chore(internal/postprocessor): reduce OwlBot scope (#7269)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianajg authored Jan 18, 2023
1 parent b371558 commit 5bd944d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
34 changes: 17 additions & 17 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ docker:

deep-remove-regex:
- /dialogflow/cx/apiv3beta1
- /dialogflow/cx/apiv3
- /dialogflow/apiv2
- /datastream/apiv1
- /datastream/apiv1alpha1
- /secretmanager/apiv1
# - /dialogflow/cx/apiv3
# - /dialogflow/apiv2
# - /datastream/apiv1
# - /datastream/apiv1alpha1
# - /secretmanager/apiv1

deep-preserve-regex:
- /.*/version.go
- /secretmanager/apiv1/iam.go
- /secretmanager/apiv1/iam_example_test.go
# - /secretmanager/apiv1/iam.go
# - /secretmanager/apiv1/iam_example_test.go

deep-copy-regex:
- source: /google/cloud/dialogflow/cx/v3beta1/cloud.google.com/go/dialogflow/cx/apiv3beta1
dest: /dialogflow/cx/apiv3beta1
- source: /google/cloud/dialogflow/cx/v3/cloud.google.com/go/dialogflow/cx/apiv3
dest: /dialogflow/cx/apiv3
- source: /google/cloud/dialogflow/v2/cloud.google.com/go/dialogflow/apiv2
dest: /dialogflow/apiv2
- source: /google/cloud/datastream/v1/cloud.google.com/go/datastream/apiv1
dest: /datastream/apiv1
- source: /google/cloud/datastream/v1alpha1/cloud.google.com/go/datastream/apiv1alpha1
dest: /datastream/apiv1alpha1
- source: /google/cloud/secretmanager/v1/cloud.google.com/go/secretmanager/apiv1
dest: /secretmanager/apiv1
# - source: /google/cloud/dialogflow/cx/v3/cloud.google.com/go/dialogflow/cx/apiv3
# dest: /dialogflow/cx/apiv3
# - source: /google/cloud/dialogflow/v2/cloud.google.com/go/dialogflow/apiv2
# dest: /dialogflow/apiv2
# - source: /google/cloud/datastream/v1/cloud.google.com/go/datastream/apiv1
# dest: /datastream/apiv1
# - source: /google/cloud/datastream/v1alpha1/cloud.google.com/go/datastream/apiv1alpha1
# dest: /datastream/apiv1alpha1
# - source: /google/cloud/secretmanager/v1/cloud.google.com/go/secretmanager/apiv1
# dest: /secretmanager/apiv1

# api-name inserts a [REPLACEME] in OwlBot generated commit messages that is used by
# postprocessor to identify commit titles that need scope added
Expand Down
5 changes: 0 additions & 5 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
GRPCServiceConfigPath: "secretmanager_grpc_service_config.json",
ApiServiceConfigPath: "secretmanager_v1.yaml",
ReleaseLevel: "ga",
StopGeneration: true,
},
{
InputDirectoryPath: "google/cloud/osconfig/v1",
Expand Down Expand Up @@ -657,7 +656,6 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
GRPCServiceConfigPath: "dialogflow_grpc_service_config.json",
ApiServiceConfigPath: "dialogflow_v3.yaml",
ReleaseLevel: "ga",
StopGeneration: true,
},
{
InputDirectoryPath: "google/cloud/dialogflow/v2",
Expand All @@ -666,7 +664,6 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
GRPCServiceConfigPath: "dialogflow_grpc_service_config.json",
ApiServiceConfigPath: "dialogflow_v2.yaml",
ReleaseLevel: "ga",
StopGeneration: true,
},
{
InputDirectoryPath: "google/iam/credentials/v1",
Expand Down Expand Up @@ -1305,7 +1302,6 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
GRPCServiceConfigPath: "datastream_grpc_service_config.json",
ApiServiceConfigPath: "datastream_v1alpha1.yaml",
ReleaseLevel: "alpha",
StopGeneration: true,
},
{
InputDirectoryPath: "google/dataflow/v1beta3",
Expand Down Expand Up @@ -1514,7 +1510,6 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
GRPCServiceConfigPath: "datastream_grpc_service_config.json",
ApiServiceConfigPath: "datastream_v1.yaml",
ReleaseLevel: "ga",
StopGeneration: true,
},
{
InputDirectoryPath: "google/cloud/notebooks/v1",
Expand Down

0 comments on commit 5bd944d

Please sign in to comment.