Skip to content

Commit

Permalink
Add files that can be removed build.yml and reusable-change-detection…
Browse files Browse the repository at this point in the history
….yml
  • Loading branch information
srinivasreddy committed Jan 6, 2025
1 parent 948e628 commit b921127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-change-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ jobs:
CHANGED_FILES=$(git diff --name-only "origin/$GITHUB_BASE_REF..")
# Check if changes are ONLY in configure/Makefile files
if echo "$CHANGED_FILES" | grep -qE '^(configure.*|Makefile.*|.*\.m4)$' && \
! echo "$CHANGED_FILES" | grep -qvE '^(configure.*|Makefile.*|.*\.m4)$'; then
if echo "$CHANGED_FILES" | grep -v "build.yml\|reusable-change-detection.yml" | grep -qE '^(configure.*|Makefile.*|.*\.m4)$' && \
! echo "$CHANGED_FILES" | grep -v "build.yml\|reusable-change-detection.yml" | grep -qvE '^(configure.*|Makefile.*|.*\.m4)$'; then
# Only configure/Makefile files changed, skip Windows CI
echo "run-windows=false" >> "$GITHUB_OUTPUT"
else
Expand Down

0 comments on commit b921127

Please sign in to comment.