From dda664828ddf138bede89fe92a579fa6a76b6b34 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Tue, 29 Nov 2022 22:22:13 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- .github/actionlint.yaml | 3 +++ action.yml | 3 +++ dev/docs/markdown_table.bash | 3 +++ internal/config/config.go | 3 +++ internal/config/config_test.go | 3 +++ internal/config/envvars.go | 3 +++ internal/config/envvars_test.go | 3 +++ internal/log/log.go | 3 +++ internal/unzipper/unzipper.go | 3 +++ internal/zipper/zipper.go | 3 +++ internal/zipper/zipper_test.go | 3 +++ main.go | 3 +++ pkg/build/build.go | 3 +++ pkg/build/config.go | 3 +++ pkg/build/env.go | 3 +++ pkg/build/hashes.go | 3 +++ pkg/build/localverification.go | 3 +++ pkg/build/manager.go | 3 +++ pkg/build/manager_test.go | 3 +++ pkg/build/parameters.go | 3 +++ pkg/build/parameters_test.go | 3 +++ pkg/build/paths.go | 3 +++ pkg/build/primary.go | 3 +++ pkg/build/remotebuild.go | 3 +++ pkg/build/result.go | 3 +++ pkg/build/runner.go | 3 +++ pkg/build/runner_test.go | 3 +++ pkg/build/settings.go | 3 +++ pkg/build/tempdirs.go | 3 +++ pkg/build/testdata/product1/main.go | 3 +++ pkg/build/verificationresult.go | 3 +++ pkg/build/verifier.go | 3 +++ pkg/commands/build.go | 3 +++ pkg/commands/buildflags.go | 3 +++ pkg/commands/buildish.go | 3 +++ pkg/commands/buildish_test.go | 3 +++ pkg/commands/config.go | 3 +++ pkg/commands/helptexts.go | 3 +++ pkg/commands/inspect.go | 3 +++ pkg/commands/logopts.go | 3 +++ pkg/commands/outputopts.go | 3 +++ pkg/commands/primarybuild.go | 3 +++ pkg/commands/root.go | 3 +++ pkg/commands/verify.go | 3 +++ pkg/commands/verifyish.go | 3 +++ pkg/commands/version.go | 3 +++ pkg/crt/file.go | 3 +++ pkg/crt/filehashes.go | 3 +++ pkg/crt/filepair.go | 3 +++ pkg/crt/filesethashes.go | 3 +++ pkg/crt/hashpair.go | 3 +++ pkg/crt/product.go | 3 +++ pkg/crt/product_test.go | 3 +++ pkg/crt/productversion.go | 3 +++ pkg/crt/productversion_test.go | 3 +++ pkg/crt/repocontext.go | 3 +++ pkg/crt/repocontext_test.go | 3 +++ pkg/crt/tool.go | 3 +++ pkg/crt/versionfile.go | 3 +++ pkg/crt/versionfile_test.go | 3 +++ pkg/digest/digest.go | 3 +++ pkg/digest/id.go | 3 +++ product/product.go | 3 +++ self-test/action.yml | 3 +++ testdata/example-app/main.go | 3 +++ verify/action.yml | 3 +++ verify/self-test/action.yml | 3 +++ 67 files changed, 201 insertions(+) diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 1d5d22d2..799f791a 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + self-hosted-runner: # Labels of self-hosted runner in array of string labels: [] diff --git a/action.yml b/action.yml index a1354ce3..525c6484 100644 --- a/action.yml +++ b/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Go Build author: Release Engineering description: Define a reproducible build. Currently only supports Go builds. diff --git a/dev/docs/markdown_table.bash b/dev/docs/markdown_table.bash index f2098327..e1f9b720 100644 --- a/dev/docs/markdown_table.bash +++ b/dev/docs/markdown_table.bash @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Bash library markdown_table_rows() { diff --git a/internal/config/config.go b/internal/config/config.go index 92328f68..832cb7ed 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/config/config_test.go b/internal/config/config_test.go index dad8c91e..9c3604ee 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/config/envvars.go b/internal/config/envvars.go index 90641b95..9454e262 100644 --- a/internal/config/envvars.go +++ b/internal/config/envvars.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/config/envvars_test.go b/internal/config/envvars_test.go index 21b6f2c3..dcbfcc10 100644 --- a/internal/config/envvars_test.go +++ b/internal/config/envvars_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package config import ( diff --git a/internal/log/log.go b/internal/log/log.go index dc6114a5..4eb8c686 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package log import ( diff --git a/internal/unzipper/unzipper.go b/internal/unzipper/unzipper.go index 4c8bdc56..ebfb256b 100644 --- a/internal/unzipper/unzipper.go +++ b/internal/unzipper/unzipper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package unzipper import ( diff --git a/internal/zipper/zipper.go b/internal/zipper/zipper.go index bed98d78..af51be2f 100644 --- a/internal/zipper/zipper.go +++ b/internal/zipper/zipper.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package zipper import ( diff --git a/internal/zipper/zipper_test.go b/internal/zipper/zipper_test.go index 83fbcb40..04009a9a 100644 --- a/internal/zipper/zipper_test.go +++ b/internal/zipper/zipper_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package zipper import ( diff --git a/main.go b/main.go index 10fd61be..cf480479 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/pkg/build/build.go b/pkg/build/build.go index 2036e79e..0ca0c231 100644 --- a/pkg/build/build.go +++ b/pkg/build/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/config.go b/pkg/build/config.go index d448af83..886fe0d4 100644 --- a/pkg/build/config.go +++ b/pkg/build/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/env.go b/pkg/build/env.go index 21170453..611ecbc3 100644 --- a/pkg/build/env.go +++ b/pkg/build/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/hashes.go b/pkg/build/hashes.go index 250771c3..60db8c97 100644 --- a/pkg/build/hashes.go +++ b/pkg/build/hashes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/localverification.go b/pkg/build/localverification.go index c7b9e81f..a6dad9f8 100644 --- a/pkg/build/localverification.go +++ b/pkg/build/localverification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/manager.go b/pkg/build/manager.go index 798072b8..1a7a55a2 100644 --- a/pkg/build/manager.go +++ b/pkg/build/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/manager_test.go b/pkg/build/manager_test.go index b297bd63..73d7d9bf 100644 --- a/pkg/build/manager_test.go +++ b/pkg/build/manager_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/parameters.go b/pkg/build/parameters.go index 75648334..d5461471 100644 --- a/pkg/build/parameters.go +++ b/pkg/build/parameters.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/parameters_test.go b/pkg/build/parameters_test.go index 3821e980..36782d4e 100644 --- a/pkg/build/parameters_test.go +++ b/pkg/build/parameters_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/paths.go b/pkg/build/paths.go index 328debf0..7b31dddc 100644 --- a/pkg/build/paths.go +++ b/pkg/build/paths.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/primary.go b/pkg/build/primary.go index a6d83dae..587af910 100644 --- a/pkg/build/primary.go +++ b/pkg/build/primary.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build // Primary is the primary build. This is run in the current working diff --git a/pkg/build/remotebuild.go b/pkg/build/remotebuild.go index 683e3776..4d076a29 100644 --- a/pkg/build/remotebuild.go +++ b/pkg/build/remotebuild.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/result.go b/pkg/build/result.go index 7c8b2e40..2f9af279 100644 --- a/pkg/build/result.go +++ b/pkg/build/result.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/runner.go b/pkg/build/runner.go index bc3ba7c8..8556a821 100644 --- a/pkg/build/runner.go +++ b/pkg/build/runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/runner_test.go b/pkg/build/runner_test.go index d6a114cf..a00d9a2e 100644 --- a/pkg/build/runner_test.go +++ b/pkg/build/runner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/settings.go b/pkg/build/settings.go index d66a8503..d3951de3 100644 --- a/pkg/build/settings.go +++ b/pkg/build/settings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/tempdirs.go b/pkg/build/tempdirs.go index 27aabbfb..0e446d04 100644 --- a/pkg/build/tempdirs.go +++ b/pkg/build/tempdirs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/testdata/product1/main.go b/pkg/build/testdata/product1/main.go index 635db7ae..065836f8 100644 --- a/pkg/build/testdata/product1/main.go +++ b/pkg/build/testdata/product1/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import "fmt" diff --git a/pkg/build/verificationresult.go b/pkg/build/verificationresult.go index 1dda1596..d6543671 100644 --- a/pkg/build/verificationresult.go +++ b/pkg/build/verificationresult.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/build/verifier.go b/pkg/build/verifier.go index a0f2abf7..d967ffe8 100644 --- a/pkg/build/verifier.go +++ b/pkg/build/verifier.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package build import ( diff --git a/pkg/commands/build.go b/pkg/commands/build.go index 0fe24611..b5e49d49 100644 --- a/pkg/commands/build.go +++ b/pkg/commands/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/buildflags.go b/pkg/commands/buildflags.go index 0bc4e012..b75a3492 100644 --- a/pkg/commands/buildflags.go +++ b/pkg/commands/buildflags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/buildish.go b/pkg/commands/buildish.go index badd05ba..280ca1c4 100644 --- a/pkg/commands/buildish.go +++ b/pkg/commands/buildish.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/buildish_test.go b/pkg/commands/buildish_test.go index 63d93177..f674c2cf 100644 --- a/pkg/commands/buildish_test.go +++ b/pkg/commands/buildish_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/config.go b/pkg/commands/config.go index 78e466e3..aa523fd1 100644 --- a/pkg/commands/config.go +++ b/pkg/commands/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/helptexts.go b/pkg/commands/helptexts.go index c06028e0..4aaf5fb3 100644 --- a/pkg/commands/helptexts.go +++ b/pkg/commands/helptexts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands const buildInstructionsHelp = ` diff --git a/pkg/commands/inspect.go b/pkg/commands/inspect.go index 457fac73..f657f0e8 100644 --- a/pkg/commands/inspect.go +++ b/pkg/commands/inspect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/logopts.go b/pkg/commands/logopts.go index 15f48328..e31ef5ff 100644 --- a/pkg/commands/logopts.go +++ b/pkg/commands/logopts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/outputopts.go b/pkg/commands/outputopts.go index 523a7daa..6b9d300f 100644 --- a/pkg/commands/outputopts.go +++ b/pkg/commands/outputopts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/primarybuild.go b/pkg/commands/primarybuild.go index 6c5665aa..e309e17b 100644 --- a/pkg/commands/primarybuild.go +++ b/pkg/commands/primarybuild.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/root.go b/pkg/commands/root.go index bfe5f70f..f72c34e1 100644 --- a/pkg/commands/root.go +++ b/pkg/commands/root.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/verify.go b/pkg/commands/verify.go index 2969da3e..bf1a3ec3 100644 --- a/pkg/commands/verify.go +++ b/pkg/commands/verify.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/verifyish.go b/pkg/commands/verifyish.go index ac1af593..5fea18d1 100644 --- a/pkg/commands/verifyish.go +++ b/pkg/commands/verifyish.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/commands/version.go b/pkg/commands/version.go index d73a0889..55aa02d8 100644 --- a/pkg/commands/version.go +++ b/pkg/commands/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commands import ( diff --git a/pkg/crt/file.go b/pkg/crt/file.go index ad5e1023..296865a2 100644 --- a/pkg/crt/file.go +++ b/pkg/crt/file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt // File is a file produced during the build. diff --git a/pkg/crt/filehashes.go b/pkg/crt/filehashes.go index f7d0f6cb..6d44ceaa 100644 --- a/pkg/crt/filehashes.go +++ b/pkg/crt/filehashes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/filepair.go b/pkg/crt/filepair.go index 19766360..34b202e6 100644 --- a/pkg/crt/filepair.go +++ b/pkg/crt/filepair.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt // FilePair represents a pair of files that should be identical. diff --git a/pkg/crt/filesethashes.go b/pkg/crt/filesethashes.go index 0443da71..3d36f279 100644 --- a/pkg/crt/filesethashes.go +++ b/pkg/crt/filesethashes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/hashpair.go b/pkg/crt/hashpair.go index ebe4ffac..b03e034e 100644 --- a/pkg/crt/hashpair.go +++ b/pkg/crt/hashpair.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import "github.com/hashicorp/actions-go-build/pkg/digest" diff --git a/pkg/crt/product.go b/pkg/crt/product.go index a2b5d5d4..8800d65e 100644 --- a/pkg/crt/product.go +++ b/pkg/crt/product.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/product_test.go b/pkg/crt/product_test.go index f243d556..8be1e7c7 100644 --- a/pkg/crt/product_test.go +++ b/pkg/crt/product_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/productversion.go b/pkg/crt/productversion.go index 6a6b26ef..43b0b461 100644 --- a/pkg/crt/productversion.go +++ b/pkg/crt/productversion.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/productversion_test.go b/pkg/crt/productversion_test.go index d75776e5..8f7d26d7 100644 --- a/pkg/crt/productversion_test.go +++ b/pkg/crt/productversion_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/repocontext.go b/pkg/crt/repocontext.go index 9d65c532..af21639c 100644 --- a/pkg/crt/repocontext.go +++ b/pkg/crt/repocontext.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/repocontext_test.go b/pkg/crt/repocontext_test.go index c05be340..eff792f2 100644 --- a/pkg/crt/repocontext_test.go +++ b/pkg/crt/repocontext_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/tool.go b/pkg/crt/tool.go index 40cbd36c..ed288c5f 100644 --- a/pkg/crt/tool.go +++ b/pkg/crt/tool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt // Tool represents a build tool involved in building or analysing build results. diff --git a/pkg/crt/versionfile.go b/pkg/crt/versionfile.go index 9489af3f..806cb057 100644 --- a/pkg/crt/versionfile.go +++ b/pkg/crt/versionfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/crt/versionfile_test.go b/pkg/crt/versionfile_test.go index 1e44b7e0..0982a155 100644 --- a/pkg/crt/versionfile_test.go +++ b/pkg/crt/versionfile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package crt import ( diff --git a/pkg/digest/digest.go b/pkg/digest/digest.go index 18b37231..7215a5ef 100644 --- a/pkg/digest/digest.go +++ b/pkg/digest/digest.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package digest import ( diff --git a/pkg/digest/id.go b/pkg/digest/id.go index 5cbe662a..19771341 100644 --- a/pkg/digest/id.go +++ b/pkg/digest/id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package digest import "fmt" diff --git a/product/product.go b/product/product.go index a685e510..da9af6f3 100644 --- a/product/product.go +++ b/product/product.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package product import ( diff --git a/self-test/action.yml b/self-test/action.yml index d3e021d1..a2c8c865 100644 --- a/self-test/action.yml +++ b/self-test/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Go Build Action Self-Tests author: Release Engineering description: Action for testing hashicorp/actions-go-build. diff --git a/testdata/example-app/main.go b/testdata/example-app/main.go index 2c3fdf07..85b0d87b 100644 --- a/testdata/example-app/main.go +++ b/testdata/example-app/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/verify/action.yml b/verify/action.yml index 88dfb26e..9548cd13 100644 --- a/verify/action.yml +++ b/verify/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Verify A Build Result author: Release Engineering description: Verify a reproducible build result. diff --git a/verify/self-test/action.yml b/verify/self-test/action.yml index b82d039e..0b5419d9 100644 --- a/verify/self-test/action.yml +++ b/verify/self-test/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Go Build Verify Action Self-Tests author: Release Engineering description: Action for testing hashicorp/actions-go-build/verify.