]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs on `*...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Jun 2024 12:39:05 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 12:39:05 +0000 (12:39 +0000)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.github/workflows/build.yml

index 76ff0e438d7ab0e303f99457fdce0891890d17c7..a6f6cbf3a84e37a0b044c2c90ab2eb8ab23bebcf 100644 (file)
@@ -61,7 +61,7 @@ jobs:
             # into the PR branch anyway.
             #
             # https://github.com/python/core-workflow/issues/373
-            git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true
+            git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|mypy\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true
           fi
 
           # Check if we should run hypothesis tests