diff --git a/.github/workflows/check-consistent-dependencies.yml b/.github/workflows/check-consistent-dependencies.yml index b2466b883070..51a4d5f24fe2 100644 --- a/.github/workflows/check-consistent-dependencies.yml +++ b/.github/workflows/check-consistent-dependencies.yml @@ -28,7 +28,7 @@ jobs: echo $'Paths touched in PR:\n'"$paths" # The ^"? is because git may quote weird file paths - matched="$(echo "$paths" | grep -P '^"?requirements/' || true)" + matched="$(echo "$paths" | grep -P '^"?((requirements/)|(scripts/.*?/requirements/))' || true)" echo $'Relevant paths:\n'"$matched" if [[ -n "$matched" ]]; then echo "RELEVANT=true" >> "$GITHUB_ENV"