From 07534f762c0608016ec2b7b70977e87cc61540a2 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Wed, 17 Jun 2026 19:45:32 +0000 Subject: [PATCH 1/2] chore: add license headers to grafeas --- java-grafeas/license-header.txt | 15 +++++++++++++++ librarian.yaml | 1 + 2 files changed, 16 insertions(+) create mode 100644 java-grafeas/license-header.txt diff --git a/java-grafeas/license-header.txt b/java-grafeas/license-header.txt new file mode 100644 index 000000000000..360730de8068 --- /dev/null +++ b/java-grafeas/license-header.txt @@ -0,0 +1,15 @@ +/* + * Copyright 2026 The Grafeas Authors. All rights reserved. + * + * 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. + */ \ No newline at end of file diff --git a/librarian.yaml b/librarian.yaml index 709d89c4e5a0..ee0ee102cc75 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -1840,6 +1840,7 @@ libraries: skip_generate: true - name: grafeas version: 2.95.0-SNAPSHOT + alternate_headers: license-header.txt apis: - path: grafeas/v1 java: From 15b52893a60454de8016fd49bb26591baf79dbc3 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Wed, 17 Jun 2026 20:04:41 +0000 Subject: [PATCH 2/2] chore: correct alternate_header location --- librarian.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian.yaml b/librarian.yaml index ee0ee102cc75..387b65ef2ee4 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -1840,7 +1840,6 @@ libraries: skip_generate: true - name: grafeas version: 2.95.0-SNAPSHOT - alternate_headers: license-header.txt apis: - path: grafeas/v1 java: @@ -1857,6 +1856,7 @@ libraries: name_pretty_override: Grafeas product_documentation_override: https://grafeas.io skip_pom_updates: true + alternate_headers: license-header.txt - name: gsuite-addons version: 2.94.0-SNAPSHOT apis: