Skip to content

Commit

Permalink
Add dependency review gh workflow (#5902)
Browse files Browse the repository at this point in the history
* Add dependency review gh workflow

Signed-off-by: Eduardo Apolinario <[email protected]>

* Comma-separated list of licenses

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix use of comment-on-pr

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Oct 23, 2024
1 parent 8890b38 commit 5065f9b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: on-failure
# Licenses need to come from https://spdx.org/licenses/
deny-licenses: GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later

0 comments on commit 5065f9b

Please sign in to comment.