Skip to content

Commit

Permalink
update license checker (openkruise#4)
Browse files Browse the repository at this point in the history
Signed-off-by: ChrisLiu <[email protected]>

Signed-off-by: ChrisLiu <[email protected]>
  • Loading branch information
chrisliu1995 authored Sep 23, 2022
1 parent 60c15f3 commit 6d1ba74
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .license/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# License Checker

Our license checker CI rely on [LicenseFinder](https://github.com/pivotal/LicenseFinder).

## How to add a new license

LicenseFinder is a ruby project, so make sure you have ruby installed.

### Install the tool

```shell
gem install license_finder
```

### Add a license

```shell
license_finder permitted_licenses add MIT --decisions_file .license/dependency_decisions.yml
```
43 changes: 43 additions & 0 deletions .license/dependency_decisions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
- - :permit
- MIT
- :who:
:why:
:versions: []
:when: 2021-03-12 07:35:34.645031000 Z
- - :permit
- Apache 2.0
- :who:
:why:
:versions: []
:when: 2021-03-12 07:19:18.243194000 Z
- - :permit
- New BSD
- :who:
:why:
:versions: []
:when: 2021-03-12 07:19:28.540675000 Z
- - :permit
- Simplified BSD
- :who:
:why:
:versions: []
:when: 2021-03-12 07:20:01.774212000 Z
- - :permit
- Mozilla Public License 2.0
- :who:
:why:
:versions: []
:when: 2021-03-12 07:21:05.194536000 Z
- - :permit
- unknown
- :who:
:why:
:versions: []
:when: 2021-03-12 07:21:43.379269000 Z
- - :permit
- ISC
- :who:
:why:
:versions: []
:when: 2021-03-12 07:22:07.265966000 Z

0 comments on commit 6d1ba74

Please sign in to comment.