Skip to content

Commit

Permalink
Update example workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
febuiles committed Feb 19, 2024
1 parent 7911825 commit a87338a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
Expand All @@ -183,16 +184,17 @@ jobs:
uses: actions/checkout@v4
- name: 'Dependency Review'
id: review
uses: actions/dependency-review-action@main
uses: actions/dependency-review-action@v4
with:
fail-on-severity: critical
deny-licenses: LGPL-2.0, BSD-2-Clause
- name: 'Report'
if: always() # make sure this step runs even if the previous failed
shell: bash
env:
comment: ${{ steps.review.outputs.comment-content }}
run: |
echo "$comment"
echo "$comment" # do something with the comment
```

## Exclude dependencies from the license check
Expand Down

0 comments on commit a87338a

Please sign in to comment.