From 7fdd4d88568d07eb302b342e9abe645792884320 Mon Sep 17 00:00:00 2001 From: Morten Torkildsen Date: Tue, 9 Aug 2022 18:57:26 +0000 Subject: [PATCH] Add missing license headers --- dogfood/sitev2/main.go | 14 ++++++++++++++ scripts/update-license.sh | 3 +++ 2 files changed, 17 insertions(+) diff --git a/dogfood/sitev2/main.go b/dogfood/sitev2/main.go index 22405fb03c..7b68262b32 100644 --- a/dogfood/sitev2/main.go +++ b/dogfood/sitev2/main.go @@ -1,3 +1,17 @@ +// 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. + package main import ( diff --git a/scripts/update-license.sh b/scripts/update-license.sh index 05a9710f2a..0ad1e5b586 100755 --- a/scripts/update-license.sh +++ b/scripts/update-license.sh @@ -26,4 +26,7 @@ go run github.com/justinsb/addlicense@v1.0.1 \ --ignore "**/.expected/results.yaml" \ --ignore "**/testdata/**" \ --ignore "**/generated/**" \ + --ignore "package-examples/cert-manager-basic/**" \ + --ignore "package-examples/ghost/**" \ + --ignore "package-examples/ingress-nginx/**" \ . 2>&1 | ( grep -v "skipping: " || true )