diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d7bc7fa..f1585c6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,6 +16,9 @@ jobs: - uses: actions/checkout@v3 - name: Dependency Review uses: actions/dependency-review-action@v3 + with: + base-ref: ${{ github.event.pull_request.base.sha || 'main' }} + head-ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Setup .NET uses: actions/setup-dotnet@v3 with: