Skip to content

Commit a3fee7c

Browse files
committed
skip CI on CODEOWNERS update
1 parent 3a570c6 commit a3fee7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/reusable-change-detection.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ jobs:
8383
# into the PR branch anyway.
8484
#
8585
# 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
86+
git diff --name-only "origin/$GITHUB_BASE_REF.." | grep -qvE \
87+
-e '(\.rst$|\.md$|^Doc|^Misc|^CODEOWNERS$)' \
88+
-e '(^\.pre-commit-config\.yaml$|\.ruff\.toml$|mypy\.ini$)' \
89+
&& echo "run-tests=true" >> "$GITHUB_OUTPUT" || true
8790
fi
8891
8992
# Check if we should run hypothesis tests

0 commit comments

Comments
 (0)