Skip to content

Commit

Permalink
chore: Add dependency-review workflow for pull requests
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
  • Loading branch information
joonas committed Mar 29, 2024
1 parent 3fa82d0 commit baee51e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependency-review-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# For more details on the available options, see:
# https://github.com/actions/dependency-review-action?tab=readme-ov-file#configuration-options
fail-on-severity: critical

comment-summary-in-pr: always

show-openssf-scorecard: true

warn-on-openssf-scorecard-level: 3
19 changes: 19 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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:
config-file: './.github/dependency-review-config.yml'

0 comments on commit baee51e

Please sign in to comment.