]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs on `*.md` and...
authorKirill Podoprigora <kirill.bast9@mail.ru>
Thu, 13 Jun 2024 11:38:31 +0000 (14:38 +0300)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 11:38:31 +0000 (14:38 +0300)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.github/workflows/build.yml

index eb325ac2f9ee1bcea186a61fdc38742af6c4a9b8..750aa1ed87bca1f4175e71c073a31061d03197c0 100644 (file)
@@ -54,7 +54,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