diff --git a/.licrc b/.licrc new file mode 100644 index 00000000..f61e4fff --- /dev/null +++ b/.licrc @@ -0,0 +1,20 @@ +# https://licensebat.com/#info-8 +[licenses] +# This indicates which are the only licenses that Licensebat will accept. +# The rest will be flagged as not allowed. +accepted = ["Apache-2.0", "MSC", "BSD"] +# This will indicate which licenses are not accepted. +# The rest will be accepted, except for the unknown licenses or dependencies without licenses. +# unaccepted = ["LGPL"] +# Note that only one of the previous options can be enabled at once. +# If both of them are informed, only accepted will be considered. + +[dependencies] +# This will allow users to flag some dependencies so that Licensebat will not check for their license. +ignored=["ignored_dep1", "ignored_dep2"] + +[behavior] +# False by default, if true, it will only run the checks when one of the dependency files or the .licrc file has been modified. +run_only_on_dependency_modification = true +# False by default, if true, it will never block the build. +do_not_block_pr = false diff --git a/cmd/controller/main.go b/cmd/controller/main.go index cfba85b8..ae88364a 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -19,7 +19,6 @@ import ( func TestRace() { a := 10 - fmt.Println("TestRace ") go func() { a++