]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-107652: Fix CIFuzz typo (#110602)
authorNikita Sobolev <mail@sobolevn.me>
Tue, 10 Oct 2023 09:34:48 +0000 (12:34 +0300)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 09:34:48 +0000 (09:34 +0000)
.github/workflows/build.yml

index 848d13fae34e26ea962c7113bff3ba24712bc44c..81e85e630bb001fe8bddb88fa21154e512cb2ed7 100644 (file)
@@ -83,7 +83,7 @@ jobs:
           # merged into the main branch; compatibility with older branches may
           # be broken.
           FUZZ_RELEVANT_FILES='(\.c$|\.h$|\.cpp$|^configure$|^\.github/workflows/build\.yml$|^Modules/_xxtestfuzz)'
-          if [ "$GITHUB_BASE_REF" = "main" ] && [ "$(git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE $FUZZ_RELEVANT_FILES; echo $?)" ]; then
+          if [ "$GITHUB_BASE_REF" = "main" ] && [ "$(git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE $FUZZ_RELEVANT_FILES; echo $?)" -eq 0 ]; then
             # The tests are pretty slow so they are executed only for PRs
             # changing relevant files.
             echo "Run CIFuzz tests"