diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 78dc1b614b..150bddcfa6 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -22,7 +22,7 @@ concurrency: jobs: fuzz: name: fuzz (mutation, 15 min) - runs-on: ubuntu-latest + runs-on: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && 'artcraft-k8s-trusted' || 'ubuntu-latest' }} steps: - name: Harden runner uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4