From fbd26dc426488dc10ca1367e4ef5709e88ae05f4 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sun, 7 Jun 2020 16:53:52 +0200 Subject: [PATCH] Exclude go and profile --- runaction.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runaction.sh b/runaction.sh index 0107ce5..94f4ea5 100755 --- a/runaction.sh +++ b/runaction.sh @@ -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}/*" ) @@ -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*' \ ')'\