-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(): Add github action to check header license and license depende…
…ncy match with MPL-2.0 Signed-off-by: sBouzols <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
header: | ||
license: | ||
spdx-id: MPL-2.0 | ||
pattern: | | ||
Copyright copyright \d{4}, RTE \(http:\/\/www\.rte-france\.com\) | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v\. 2\.0\. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at http:\/\/mozilla\.org\/MPL\/2\.0\/\. | ||
paths-ignore: | ||
- 'dist' | ||
- 'licenses' | ||
- '**/*.md' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'Dockerfile' | ||
- '**/.*' | ||
- '**/*.txt' | ||
- '**/*.json' | ||
- '**/*.yaml' | ||
- '**/*.yml' | ||
- '**/*.svg' | ||
- '**/*.css' | ||
- '**/*.conf' | ||
|
||
comment: on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"onlyAllow" : [ | ||
"MPL-2.0", | ||
"MIT", | ||
"BSD-3-Clause", | ||
"BSD-2-Clause", | ||
"0BSD", | ||
"Apache-2.0", | ||
"ISC", | ||
"Apache-Style", | ||
"CC-BY-3.0", | ||
"CC-BY-4.0", | ||
"CC0-1.0", | ||
"MIT AND CC-BY-3.0", | ||
"MIT OR CC0-1.0", | ||
"Artistic-2.0", | ||
"Python-2.0", | ||
"Unlicense" | ||
], | ||
"excludePackages": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters