Skip to content

Commit

Permalink
Merge branch 'skip-ci-on-codeowners-changes'
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 13, 2025
2 parents afb9dc8 + 608f77f commit 6e3ab55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/reusable-change-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ 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$|\.md$|mypy\.ini$)' && echo "run-tests=true" >> "$GITHUB_OUTPUT" || true
git diff --name-only "origin/$GITHUB_BASE_REF.." | grep -qvE \
-e '(\.rst$|\.md$|^Doc|^Misc|^\.github/CODEOWNERS$)' \
-e '(^\.pre-commit-config\.yaml$|\.ruff\.toml$|mypy\.ini$)' \
&& echo "run-tests=true" >> "$GITHUB_OUTPUT" || true
fi
# Check if we should run hypothesis tests
Expand Down

0 comments on commit 6e3ab55

Please sign in to comment.