Skip to content

Commit

Permalink
address bug where base & head ref are not always correct (#5681)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Jun 4, 2024
1 parent 5734918 commit 08db8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2
with:
config-file: "nginxinc/k8s-common/dependency-review-config.yml@main"
base-ref: ${{ github.event.pull_request.base.sha || github.event.repository.default_branch }}
head-ref: ${{ github.event.pull_request.base.sha || github.ref }}

0 comments on commit 08db8e9

Please sign in to comment.