Skip to content

Commit cc1dc62

Browse files
authored
Merge pull request #187 from wcollins/fix/make-licenses-target
fix: resolve make licenses failure
2 parents bff4728 + 004ff99 commit cc1dc62

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/premerge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
go-version: stable
2323

2424
- name: Install go-licenses
25-
run: go install github.com/google/go-licenses@latest
25+
run: go install github.com/google/go-licenses/v2@latest
2626

2727
- name: Run make test
2828
run: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ install:
102102
## licenses: Ensure license headers exist and generate NOTICE file
103103
licenses:
104104
@echo "Checking license headers and generating NOTICE file..."
105-
@go-licenses report . \
105+
@go-licenses report ./... \
106106
--template ./scripts/license-attributions/template.tpl \
107107
--ignore github.com/itential > NOTICE
108108
@go run ./scripts/copyrighter/main.go

0 commit comments

Comments
 (0)