-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
Licensed
To Help Verify Prod Licenses (#128)
* Add Licensed Workflow and config * manual validation of dependencies * Ignore Generated Files in Git PR's * update contributing.md
- 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,14 @@ | ||
sources: | ||
npm: true | ||
|
||
allowed: | ||
- apache-2.0 | ||
- bsd-2-clause | ||
- bsd-3-clause | ||
- isc | ||
- mit | ||
- cc0-1.0 | ||
- unlicense | ||
|
||
reviewed: | ||
npm: |
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.
b9436a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.