From 956db7b7952bbcdd35b971bf22d6ac984578e295 Mon Sep 17 00:00:00 2001 From: Scott BonAmi <1145657+sbonami@users.noreply.github.com> Date: Fri, 2 Jun 2023 23:04:35 -0400 Subject: [PATCH] chore: perform license compatibility check --- .licrc | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .licrc diff --git a/.licrc b/.licrc new file mode 100644 index 00000000..7dc05ba0 --- /dev/null +++ b/.licrc @@ -0,0 +1,37 @@ +# IMPORTANT!: ALL SECTIONS ARE MANDATORY +[licenses] +# This indicates which are the only licenses that Licensebat will accept. +# The rest will be flagged as not allowed. +accepted = [ + "MIT", + "MSC", + "BSD", + "0BSD", + "BSD-2-Clause", + "BSD-3-Clause", + "Apache-2.0", + "CC-BY-3.0", + "CC-BY-4.0", + "CC0-1.0", + "ISC", + "Apache-2.0" +] +# 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"] +# If set to true, Licensebat will ignore the dev dependencies. +ignore_dev_dependencies = true +# If set to true, Licensebat will ignore the optional dependencies. +ignore_optional_dependencies = true + +[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