aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-06-13 14:38:31 +0300
committerGitHub <noreply@github.com>2024-06-13 14:38:31 +0300
commitca5108a46d5da3978d4bd29717ea3fbdee772e66 (patch)
tree642dce62fada5cd897485e93a159a97cea20c31d
parent87cedaa5c857dc615b9f618b020414187fc1c966 (diff)
downloadcpython-ca5108a46d5da3978d4bd29717ea3fbdee772e66.tar.gz
cpython-ca5108a46d5da3978d4bd29717ea3fbdee772e66.zip
gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs on `*.md` and `*.ini` files. (#120435)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index eb325ac2f9e..750aa1ed87b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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