File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ on: [pull_request]
174174
175175permissions:
176176 contents: read
177+ pull-requests: write
177178
178179jobs:
179180 dependency-review:
@@ -183,16 +184,17 @@ jobs:
183184 uses: actions/checkout@v4
184185 - name: 'Dependency Review'
185186 id: review
186- uses: actions/dependency-review-action@main
187+ uses: actions/dependency-review-action@v4
187188 with:
188189 fail-on-severity: critical
189190 deny-licenses: LGPL-2.0, BSD-2-Clause
190191 - name: 'Report'
192+ if: always() # make sure this step runs even if the previous failed
191193 shell: bash
192194 env:
193195 comment: ${{ steps.review.outputs.comment-content }}
194196 run: |
195- echo "$comment"
197+ echo "$comment" # do something with the comment
196198` ` `
197199
198200# # Exclude dependencies from the license check
You can’t perform that action at this time.
0 commit comments