From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:58:42 +0000 (-0500) Subject: Limit sarif to PRs from same repo X-Git-Tag: dnsdist-1.8.0-rc3~10^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d444ba3a6c2accab26eefd1507d1caee5107f6;p=thirdparty%2Fpdns.git Limit sarif to PRs from same repo --- diff --git a/.github/workflows/spelling3.yml b/.github/workflows/spelling3.yml index 18f8240990..8bfa4de2e2 100644 --- a/.github/workflows/spelling3.yml +++ b/.github/workflows/spelling3.yml @@ -42,7 +42,7 @@ jobs: checkout: true spell_check_this: check-spelling/spell-check-this@prerelease post_comment: 0 - use_sarif: 1 + use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} extra_dictionaries: cspell:software-terms/src/software-terms.txt cspell:python/src/python/python-lib.txt