diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3177e3c..548ad6c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,8 +76,8 @@ jobs: tool: cargo-insta - name: Install npcap on Windows - # PRs cannot not be trusted with repository secrets - if: (matrix.os == 'windows-latest') && (github.event_name != 'pull_request') + # PRs from other repositories cannot not be trusted with repository secrets + if: matrix.os == 'windows-latest' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) env: NPCAP_OEM_URL: ${{ secrets.NPCAP_OEM_URL }} run: | |