diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml index e83e5a3..0636401 100644 --- a/.github/workflows/premerge.yaml +++ b/.github/workflows/premerge.yaml @@ -22,7 +22,7 @@ jobs: go-version: stable - name: Install go-licenses - run: go install github.com/google/go-licenses@latest + run: go install github.com/google/go-licenses/v2@latest - name: Run make test run: make test diff --git a/Makefile b/Makefile index 1ef9137..6707a74 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ install: ## licenses: Ensure license headers exist and generate NOTICE file licenses: @echo "Checking license headers and generating NOTICE file..." - @go-licenses report . \ + @go-licenses report ./... \ --template ./scripts/license-attributions/template.tpl \ --ignore github.com/itential > NOTICE @go run ./scripts/copyrighter/main.go