Skip to content

Commit 11790a2

Browse files
authored
Add Licensed To Help Verify Prod Licenses (actions#88)
* Add Licensed workflow and config files * Manually validate dependencies * Ignore Generated Files in Git PR's * update contributing.md
1 parent 8bb50d9 commit 11790a2

23 files changed

+508
-343
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/index.js -diff -merge
22
dist/index.js linguist-generated=true
3+
.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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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:

.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/exec.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/@actions/tool-cache.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/@oozcitak/dom.dep.yml

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

.licenses/npm/@oozcitak/infra-1.0.3.dep.yml

Lines changed: 24 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy