Skip to content

Commit

Permalink
ci: use dependency review action
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Apr 18, 2023
1 parent dc2f0e8 commit eae44f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/dependency-review-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fail_on_severity: "low"
allow_licenses:
- "MIT"
- "ISC"
- "MPL-2.0"
- "BSD-2-Clause"
- "BSD-3-Clause"
- "Apache-2.0"
19 changes: 19 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Dependency Review"
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3

# Their stupid action rely on PR event metadata, so
# there is no much sense to move it to setup a re-usable workflow.
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
with:
config-file: "./.github/dependency-review-config.yml"

0 comments on commit eae44f0

Please sign in to comment.