Skip to content

Commit

Permalink
skip travis ci on .github directory change (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Apr 27, 2022
1 parent cc5ccf6 commit 90e98ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check-changed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ else
fi
echo $CHANGED_FILES
DOCS_DIR="docs/"
GITHUB_DIR=".github/"
SKIP_TEST=true

for CHANGED_FILE in $CHANGED_FILES; do
if ! [[ $CHANGED_FILE =~ $DOCS_DIR ]] ; then
if ! [[ $CHANGED_FILE =~ $DOCS_DIR ]] && ! [[ $CHANGED_FILE =~ $GITHUB_DIR ]] ; then
SKIP_TEST=false
break
fi
Expand Down

0 comments on commit 90e98ff

Please sign in to comment.