From 5be5a9d6549d81a5b39388fe32eae38a58545530 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Mon, 2 Mar 2026 09:34:18 -0600 Subject: [PATCH] ci: no more copywrite checks --- .github/workflows/ci.yaml | 10 ---------- .github/workflows/scripts/copywrite.hcl | 16 ---------------- Justfile | 8 -------- 3 files changed, 34 deletions(-) delete mode 100644 .github/workflows/scripts/copywrite.hcl diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ca82c67..cfc975b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,16 +8,6 @@ on: branches: - 'main' jobs: - run-copywrite: - timeout-minutes: 5 - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v6 - - uses: hashicorp/setup-copywrite@v1.1.3 - - name: verify copyright - run: | - copywrite --config .github/workflows/scripts/copywrite.hcl \ - headers --spdx "BSD-3-Clause" --plan run-tests: timeout-minutes: 5 runs-on: ubuntu-24.04 diff --git a/.github/workflows/scripts/copywrite.hcl b/.github/workflows/scripts/copywrite.hcl deleted file mode 100644 index 5c6728f..0000000 --- a/.github/workflows/scripts/copywrite.hcl +++ /dev/null @@ -1,16 +0,0 @@ -schema_version = 1 - -project { - license = "BSD-3-Clause" - copyright_holder = "CattleCloud LLC" - copyright_year = 2025 - header_ignore = [ - "**/*.sh", - ".src/**", - ".bin/**", - ".github/**", - ".golangci.yaml", - "layout.xml", - ] -} - diff --git a/Justfile b/Justfile index 801a709..eb4d4c7 100644 --- a/Justfile +++ b/Justfile @@ -29,14 +29,6 @@ test unit: [group('build')] init: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.0 - go install github.com/hashicorp/copywrite@v0.22.0 - -# ensure copywrite headers present on source files -[group('lint')] -copywrite: - $GOBIN/copywrite \ - --config {{scripts}}/copywrite.hcl headers \ - --spdx "BSD-3-Clause" # apply go vet command on source tree [group('lint')]