Skip to content

Commit

Permalink
Exclude go and profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jun 7, 2020
1 parent f22efe7 commit fbd26dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runaction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ declare -a tmp
statuscode=0

excludes+=( ! -path *./.git/* )
excludes+=( ! -path *.go )

for path in ${INPUT_IGNORE}; do
echo "::debug:: Adding '${path}' to excludes"
excludes+=(! -path "*./${path}/*" )
Expand Down Expand Up @@ -38,7 +40,6 @@ readarray -d '' filepaths < <(find . "${excludes[@]}" \
-o -path '*/zsh*' \
-o -name '*.sh' \
-o -path '*/.profile*' \
-o -path '*/profile*' \
-o -path '*/.shlib*' \
-o -path '*/shlib*' \
')'\
Expand Down

0 comments on commit fbd26dc

Please sign in to comment.