Also run DR on push
This commit is contained in:
9
.github/workflows/dependency-review.yml
vendored
9
.github/workflows/dependency-review.yml
vendored
@@ -16,7 +16,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
name: 'Dependency Review'
|
name: 'Dependency Review'
|
||||||
on: [pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -27,5 +27,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Repository'
|
- name: 'Checkout Repository'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review PR'
|
||||||
uses: actions/dependency-review-action@v4
|
uses: actions/dependency-review-action@v4.3.4
|
||||||
|
with:
|
||||||
|
base-ref: ${{ github.event.before }}
|
||||||
|
head-ref: ${{ github.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user