Add Licensed To Help Verify Prod Licenses (#326)

* Add Licensed file and workflow

* manual updates of dependencies

* Delete licenses.txt

* Ignore Generated Files in Git PR's
这个提交包含在:
Thomas Boop
2020-09-10 09:24:29 -04:00
提交者 GitHub
父节点 be6c44d969
当前提交 21dc310f19
共有 63 个文件被更改,包括 2962 次插入 和 1328 次删除

20
.github/workflows/licensed.yml vendored 普通文件
查看文件

@ -0,0 +1,20 @@
name: Licensed
on:
push: {branches: main}
pull_request: {branches: main}
jobs:
test:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v2
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status