diff --git a/.ci/apm-beats-update.groovy b/.ci/apm-beats-update.groovy index f8da89d6fa60..fe787cc04044 100644 --- a/.ci/apm-beats-update.groovy +++ b/.ci/apm-beats-update.groovy @@ -127,6 +127,7 @@ def beatsUpdate() { git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*" go mod edit -replace github.com/elastic/beats/v7=\${GOPATH}/src/github.com/elastic/beats-local + echo '{"name": "${GOPATH}/src/github.com/elastic/beats-local", "licenceType": "Elastic"}' >> \${GOPATH}/src/github.com/elastic/beats-local/dev-tools/notice/overrides.json make update git commit -a -m beats-update