From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:03:59 +0000 (+0200) Subject: [3.13] gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs on `*... X-Git-Tag: v3.13.0b3~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ce72e211f5122bf52ced71433070db84997ab7c;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-119146: Update ``regexp`` in `build.yml` to not trigger the jobs on `*.md` and `*.ini` files. (GH-120435) (#120447) Co-authored-by: Kirill Podoprigora Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04020de7c950..86349355fc69 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