Skip to content

Commit

Permalink
Generate licenses of all dependencies
Browse files Browse the repository at this point in the history
Fixes #324.
  • Loading branch information
triallax committed Feb 9, 2023
1 parent 68c0fb9 commit 3dd3f69
Show file tree
Hide file tree
Showing 5 changed files with 4,280 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ jobs:
git diff README.md
exit 1
fi
- name: Generate third-party licenses
run: ./generate-third-party-licenses.cjs

- name: Check generated third-party licenses list is up to date
run: |
if [ -n "$(git status --porcelain LICENSE_THIRDPARTY web/third-party-licenses.txt)" ]; then
echo 'There is a mismatch between the autogenerated third-party license list and what running `generate-third-party-licenses.cjs` generates. If you have edited LICENSE_THIRDPARTY or web/third-party-licenses.txt directly, please revert those changes. Otherwise, please run `node generate-third-party-licenses.cjs` locally and commit the changes to the license list to Git.'
exit 1
fi
Loading

0 comments on commit 3dd3f69

Please sign in to comment.