From ed9cf06d5faaecc017fdc2e75867c54e9209244b Mon Sep 17 00:00:00 2001 From: Auguste Rame <19855629+SuperAuguste@users.noreply.github.com> Date: Mon, 23 Jan 2023 00:23:21 -0500 Subject: [PATCH] Properly refer to external repositories instead of lumping everything into zls (#936) --- .github/workflows/fuzz.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index be32b94..07eae8a 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -27,7 +27,7 @@ permissions: read-all jobs: fuzz: - if: github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'pr:fuzz') + if: github.repository_owner == 'zigtools' && (github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'pr:fuzz')) runs-on: ubuntu-latest steps: @@ -109,7 +109,7 @@ jobs: space_name: fuzzing-output space_region: nyc3 source: sus/saved_logs/ - out_dir: ${{ github.repository_owner }}/${{ github.event.repository.name }}/${{ github.head_ref || github.ref_name }}/${{ github.sha }} + out_dir: ${{ github.event.pull_request.head.repo.full_name || github.repository }}/${{ github.head_ref || github.ref_name }}/${{ github.event.pull_request.head.sha || github.sha }} \ No newline at end of file