Skip to content

Commit 27bce4e

Browse files
authored
Merge pull request #112 from thboop/main
Add `Licensed` To Help Verify Prod Licenses
2 parents abecf4a + f8b42f7 commit 27bce4e

27 files changed

Lines changed: 739 additions & 417 deletions

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
* text=auto eol=lf
1+
* text=auto eol=lf
2+
.licenses/** -diff linguist-generated=true

.github/workflows/licensed.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Licensed
2+
3+
on:
4+
push: {branches: main}
5+
pull_request: {branches: main}
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
name: Check licenses
11+
steps:
12+
- uses: actions/checkout@v2
13+
- run: npm ci
14+
- name: Install licensed
15+
run: |
16+
cd $RUNNER_TEMP
17+
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
18+
sudo tar -xzf licensed.tar.gz
19+
sudo mv licensed /usr/local/bin/licensed
20+
- run: licensed status

.licensed.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
sources:
2+
npm: true
3+
4+
allowed:
5+
- apache-2.0
6+
- bsd-2-clause
7+
- bsd-3-clause
8+
- isc
9+
- mit
10+
- cc0-1.0
11+
- unlicense
12+
13+
reviewed:
14+
npm:
15+
- fs.realpath

.licenses/npm/@actions/artifact.dep.yml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@actions/core.dep.yml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@actions/glob.dep.yml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@actions/http-client.dep.yml

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@actions/io.dep.yml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@types/tmp.dep.yml

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/balanced-match.dep.yml

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)