From 41bd86f6e56bcf4d79e812e72e42d6396a4d0f89 Mon Sep 17 00:00:00 2001 From: "weizhou.lan@daocloud.io" Date: Tue, 5 Apr 2022 00:57:51 +0800 Subject: [PATCH 1/2] 4 --- cmd/controller/main.go | 1 - 1 file changed, 1 deletion(-) 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++ From bb156479a96024e453585f69e84999e86fac1a1a Mon Sep 17 00:00:00 2001 From: "weizhou.lan@daocloud.io" Date: Tue, 5 Apr 2022 01:11:28 +0800 Subject: [PATCH 2/2] df --- .licrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .licrc 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