Skip to content

Commit

Permalink
fix(ci): fix ci running on .ci/ and .github/ mark down files (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
AvarianKnight authored Aug 6, 2024
1 parent ada4c42 commit 2ee1ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/run-pr
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -eu
changed_docs() {
local commit_ish="$1"

git diff-tree -r --name-only --diff-filter=ACMR "$commit_ish" -- '*.md' | xargs
git diff-tree -r --name-only --diff-filter=ACMR "$commit_ish" -- ':!.ci/' ':!.github/' '*.md' | xargs
}

# determine commit range
Expand Down Expand Up @@ -52,4 +52,4 @@ if [ -n "$failed_mds" ]; then

elif [ -z "$successful_mds" ]; then
print -s1 -c3 'No docs found to be built.'
fi
fi

0 comments on commit 2ee1ac5

Please sign in to comment.