Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add Ember CLI workspace license checks (#16603)

Penar Musaraj175e6e606120
diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml
index 19a263f7f72..129482e93d6 100644
--- a/.github/workflows/licenses.yml
+++ b/.github/workflows/licenses.yml
@@ -73,4 +73,11 @@ jobs:
if: ${{ always() }}
run: |
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
diff --git a/app/assets/javascripts/.licensee.json b/app/assets/javascripts/.licensee.json
new file mode 100644
index 00000000000..1287b5fde6b
--- /dev/null
+++ b/app/assets/javascripts/.licensee.json
@@ -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"
+ }
+ ]
+}