Visitar URL original
gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs o… · miss-islington/cpython@a71011a · GitHub
Skip to content

Commit a71011a

Browse files
Eclips4hugovk
authored andcommitted
pythongh-119146: Update regexp in build.yml to not trigger the jobs on *.md and *.ini files. (pythonGH-120435)
(cherry picked from commit ca5108a) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 5a6cc3c commit a71011a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# into the PR branch anyway.
6262
#
6363
# https://github.com/python/core-workflow/issues/373
64-
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
64+
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
6565
fi
6666
6767
# Check if we should run hypothesis tests

0 commit comments

Comments
 (0)