-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
Add `Licensed` To Help Verify Prod Licenses
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* text=auto eol=lf | ||
* text=auto eol=lf | ||
.licenses/** -diff linguist-generated=true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
sources: | ||
npm: true | ||
|
||
allowed: | ||
- apache-2.0 | ||
- bsd-2-clause | ||
- bsd-3-clause | ||
- isc | ||
- mit | ||
- cc0-1.0 | ||
- unlicense | ||
|
||
reviewed: | ||
npm: | ||
- fs.realpath |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.