mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08:00
DEV: Add Ember CLI workspace license checks (#16603)
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
parent
bebb4fd111
commit
175e6e6061
7
.github/workflows/licenses.yml
vendored
7
.github/workflows/licenses.yml
vendored
|
@ -73,4 +73,11 @@ jobs:
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
yarn global add licensee
|
yarn global add licensee
|
||||||
|
yarn global upgrade licensee
|
||||||
|
licensee --errors-only
|
||||||
|
|
||||||
|
- name: Check Ember CLI Workspace Licenses
|
||||||
|
if: ${{ always() }}
|
||||||
|
working-directory: ./app/assets/javascripts
|
||||||
|
run: |
|
||||||
licensee --errors-only
|
licensee --errors-only
|
||||||
|
|
33
app/assets/javascripts/.licensee.json
Normal file
33
app/assets/javascripts/.licensee.json
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"licenses": {
|
||||||
|
"blueOak": "bronze",
|
||||||
|
"spdx": [
|
||||||
|
"CC0-1.0",
|
||||||
|
"CC-BY-3.0",
|
||||||
|
"CC-BY-4.0",
|
||||||
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
|
"ISC"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"packages": {
|
||||||
|
"component-bind": "1.0.0",
|
||||||
|
"component-inherit": "0.0.3",
|
||||||
|
"duplex": "1.0.0",
|
||||||
|
"glob": "3.1.21",
|
||||||
|
"indexof": "0.0.1",
|
||||||
|
"inherits": "1.0.2",
|
||||||
|
"jsonify": "0.0.0",
|
||||||
|
"messageformat": "0.1.5",
|
||||||
|
"line-stream": "0.0.0",
|
||||||
|
"regenerator-transform": "0.10.1",
|
||||||
|
"source-map": "0.1.43",
|
||||||
|
"sourcemap-validator": "1.1.1",
|
||||||
|
"xmldom": "0.1.31"
|
||||||
|
},
|
||||||
|
"corrections": true,
|
||||||
|
"ignore": [
|
||||||
|
{
|
||||||
|
"author": "Discourse"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user