google / addlicense

A program which ensures source code files have copyright license headers by scanning directory patterns recursively
Apache License 2.0
716 stars 169 forks source link

Support *.BUILD files #145

Closed pmeric closed 1 year ago

pmeric commented 1 year ago

bazel build files for external repos -- eg. used in conjunction with http_archive -- are often named <repo>.BUILD

mco-gh commented 1 year ago

@willnorris Have you seen these lint errors before? Not sure what's triggering them but they seem unrelated to the PR I approved.

willnorris commented 1 year ago

oh, weird. No, I've not seen this before. The errors don't even really make sense for the code in addlicense.

I just checked, and our config for tailscale is mostly similar: and seems to be running like normal.

There are a couple of version differences with the actions/setup-go action and golangci-lint. addlicense isn't pinning to a specific version of the golangci-lint action, so maybe there's an issue with the latest version?