Merge pull request #349 from wneessen/fix-dependency-review-bug

Add base-ref and head-ref to Dependency Review action
This commit is contained in:
Winni Neessen 2024-10-28 22:59:42 +01:00 committed by GitHub
commit edc5300b54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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