diff --git a/.github/workflows/copywrite.yml b/.github/workflows/copywrite.yml new file mode 100644 index 0000000..6abdb48 --- /dev/null +++ b/.github/workflows/copywrite.yml @@ -0,0 +1,20 @@ +name: Check Copywrite Headers + +on: + push: {} + +jobs: + copywrite: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2 + name: Setup Copywrite + with: + version: v0.16.4 + archive-checksum: c299f830e6eef7e126a3c6ef99ac6f43a3c132d830c769e0d36fa347fa1af254 + - name: Check Copywrite Headers + run: copywrite headers --plan + +permissions: + contents: read diff --git a/internal/config/config.go b/internal/config/config.go index 65300c0..4fc28d9 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/simnode/build.go b/internal/simnode/build.go index efb21c6..8c6b7e0 100644 --- a/internal/simnode/build.go +++ b/internal/simnode/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package simnode import (