diff --git a/.github/workflows/generate_update_wordlists.yaml b/.github/workflows/generate_update_wordlists.yaml index ae7d6f7..cca3caa 100644 --- a/.github/workflows/generate_update_wordlists.yaml +++ b/.github/workflows/generate_update_wordlists.yaml @@ -55,7 +55,7 @@ jobs: set -x ; set +e #--------------# # Del all Dirs - find "$GITHUB_WORKSPACE/main" -maxdepth 1 -type d -exec rm -rf {} \; 2>/dev/null + find "$GITHUB_WORKSPACE/main" -maxdepth 1 -type d ! -name '.git*' -exec rm -rf {} \; 2>/dev/null # Create Output Dir mkdir -p "$GITHUB_WORKSPACE/main/Logs" continue-on-error: true