Skip to content

Commit 1a0f168

Browse files
authored
ci: add {base,head}-ref to dep review check (caddyserver#7064)
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
1 parent 7a33f48 commit 1a0f168

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ jobs:
8585
uses: actions/dependency-review-action@v4
8686
with:
8787
comment-summary-in-pr: on-failure
88+
# https://github.com/actions/dependency-review-action/issues/430#issuecomment-1468975566
89+
base-ref: ${{ github.event.pull_request.base.sha || 'master' }}
90+
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}

0 commit comments

Comments
 (0)