8000 [3.12] gh-119146: Update ``regexp`` in `build.yml` to not trigger the… · python/cpython@f8dd4c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit f8dd4c3

Browse files
miss-islingtonEclips4hugovk
authored
[3.12] gh-119146: Update regexp in build.yml to not trigger the jobs on *.md and *.ini files. (GH-120435) (#120448)
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 f8dd4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.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)
0