Skip to content

Commit f5b8566

Browse files
committed
Also run DR on push
1 parent 085a711 commit f5b8566

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
name: 'Dependency Review'
19-
on: [pull_request]
19+
on: [push, pull_request]
2020

2121
permissions:
2222
contents: read
@@ -27,5 +27,8 @@ jobs:
2727
steps:
2828
- name: 'Checkout Repository'
2929
uses: actions/checkout@v4
30-
- name: 'Dependency Review'
31-
uses: actions/dependency-review-action@v4
30+
- name: 'Dependency Review PR'
31+
uses: actions/dependency-review-action@v4.3.4
32+
with:
33+
base-ref: ${{ github.event.before }}
34+
head-ref: ${{ github.sha }}

0 commit comments

Comments
 (0)