Unverified Commit 11790a2d authored by Thomas Boop's avatar Thomas Boop Committed by GitHub
Browse files

Add `Licensed` To Help Verify Prod Licenses (#88)

* Add Licensed workflow and config files

* Manually validate dependencies

* Ignore Generated Files in Git PR's

* update contributing.md
parent 8bb50d97
Loading
Loading
Loading
Loading
+1
Changes for .gitattributes: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
dist/index.js    -diff -merge
dist/index.js    linguist-generated=true
.licenses/** -diff linguist-generated=true
+20
Changes for .github/workflows/licensed.yml: 20 added lines, 0 removed lines.
Original line number Diff line number Diff line
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
 No newline at end of file
+14
Changes for .licensed.yml: 14 added lines, 0 removed lines.
Original line number Diff line number Diff line
sources:
  npm: true

allowed:
  - apache-2.0
  - bsd-2-clause
  - bsd-3-clause
  - isc
  - mit
  - cc0-1.0
  - unlicense

reviewed:
  npm:
 No newline at end of file

File added.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

File added.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

Loading