Skip to content

Commit

Permalink
Merge pull request #855 from gisaia/ci/licenseCheck
Browse files Browse the repository at this point in the history
ci: add license check
  • Loading branch information
QuCMGisaia authored Aug 5, 2024
2 parents 83c4154 + 8704b9c commit ec13746
Show file tree
Hide file tree
Showing 34 changed files with 978 additions and 280 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
run: npm ci
- name: Lint
run: npm run lint
- name: License check
run: npm run license-check
- name: Test
run: npm run test
- name: Build
Expand Down
202 changes: 0 additions & 202 deletions LICENCE.txt

This file was deleted.

16 changes: 16 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Licensed to Gisaïa under one or more contributor
license agreements. See the NOTICE.txt file distributed with
this work for additional information regarding copyright
ownership. Gisaïa licenses this file to you under
the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
14 changes: 14 additions & 0 deletions license-check-and-add.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"ignore": [".github/**", ".git/**", "e2e/**", "*", "**/*.sh", "*.yml", "**/*.yaml", "**/*.conf", "**/*.md", "**/*.svg", "**/*.spec.ts", "**/*.html", "**/*.woff2", "src/test.ts", "**/.DS_Store", "**/.gitkeep", "patches/*", "**/*.xml", "**/*.csv"],
"license": "LICENSE",
"trailingWhitespace": "TRIM",
"licenseFormats": {
"ts|js|css|scss": {
"prepend": "/*",
"append": " */",
"eachLine": {
"prepend": " * "
}
}
}
}
Loading

0 comments on commit ec13746

Please sign in to comment.