Skip to content

Commit

Permalink
Merge pull request #349 from wneessen/fix-dependency-review-bug
Browse files Browse the repository at this point in the history
Add base-ref and head-ref to Dependency Review action
  • Loading branch information
wneessen authored Oct 28, 2024
2 parents c8478fb + 8bc9b8b commit edc5300
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ jobs:
uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master
- name: 'Dependency Review'
uses: actions/dependency-review-action@a6993e2c61fd5dc440b409aa1d6904921c5e1894 # v4.3.5
with:
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
govulncheck:
name: Go vulnerabilities check
runs-on: ubuntu-latest
Expand Down

0 comments on commit edc5300

Please sign in to comment.