Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CODEOWNERS
1 parent 06cad77 commit 99327d1Copy full SHA for 99327d1
1 file changed
.github/workflows/reusable-change-detection.yml
@@ -83,7 +83,22 @@ jobs:
83
# into the PR branch anyway.
84
#
85
# https://github.com/python/core-workflow/issues/373
86
- 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
+ grep_ignore_args=(
87
+ # file extensions
88
+ -e '\.md$'
89
+ -e '\.rst$'
90
+ # top-level folders
91
+ -e '^Doc/'
92
+ -e '^Misc/'
93
+ # configuration files
94
+ -e '^\.github/CODEOWNERS$'
95
+ -e '^\.pre-commit-config\.yaml$'
96
+ -e '\.ruff\.toml$'
97
+ -e 'mypy\.ini$'
98
+ )
99
+ git diff --name-only "origin/$GITHUB_BASE_REF.." \
100
+ | grep -qvE "${grep_ignore_args[@]}" \
101
+ && echo "run-tests=true" >> "$GITHUB_OUTPUT" || true
102
fi
103
104
# Check if we should run hypothesis tests
0 commit comments