Skip to content

Commit 7f47fd8

Browse files
committed
chore: add license review to CI
1 parent 777dfbe commit 7f47fd8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,3 +896,17 @@ jobs:
896896
- name: Setup and run sqlc vet
897897
run: |
898898
make sqlc-vet
899+
900+
# dependency-license-review checks that no license-incompatible dependencies have been introduced.
901+
# This action is not intended to do a vulnerability check since that is handled by a separate action.
902+
dependency-license-review:
903+
runs-on: ubuntu-latest
904+
steps:
905+
- name: 'Checkout Repository'
906+
uses: actions/checkout@v4
907+
- name: 'Dependency Review'
908+
uses: actions/dependency-review-action@v4
909+
with:
910+
allow-licenses: Apache-2.0, BSD-2-Clause, BSD-3-Clause, CC0-1.0, ISC, MIT, MIT-0, MPL-2.0
911+
license-check: true
912+
vulnerability-check: false

0 commit comments

Comments
 (0)