From 175e6e606120d3008e5691a8549f686cddc6a345 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Tue, 3 May 2022 13:06:19 -0400 Subject: [PATCH] DEV: Add Ember CLI workspace license checks (#16603) Co-authored-by: Jarek Radosz --- .github/workflows/licenses.yml | 7 ++++++ app/assets/javascripts/.licensee.json | 33 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 app/assets/javascripts/.licensee.json 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" + } + ] +}