diff --git a/.licenserc.yaml b/.licenserc.yaml index 5ab39f3a7..4b589557c 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -58,5 +58,13 @@ header: - '.gitignore' - '.gitattributes' - 'pkg/controller/application/status.go' + - '.golangci.yaml' comment: on-failure + license-location-threshold: 80 + + language: + Go: + extensions: + - ".go" + comment_style_id: SlashAsterisk diff --git a/hack/update-licenses.sh b/hack/update-licenses.sh index ea4078f12..937b0c073 100755 --- a/hack/update-licenses.sh +++ b/hack/update-licenses.sh @@ -35,7 +35,7 @@ then # Install skywalking-eyes echo 'installing skywalking-eyes ' pushd "${KUBE_ROOT}/hack/tools" >/dev/null - go install github.com/apache/skywalking-eyes/cmd/license-eye@v0.2.0 + go install github.com/apache/skywalking-eyes/cmd/license-eye@v0.4.0 popd >/dev/null fi