From 60c854db82e904598f91fcb78d8724adf857296b Mon Sep 17 00:00:00 2001 From: John Ko <279736+johnko@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:24:09 -0500 Subject: [PATCH 1/3] Add .github/shellcheck.sh --- .github/shellcheck.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/shellcheck.sh b/.github/shellcheck.sh index 3d86c83..5c32d7e 100644 --- a/.github/shellcheck.sh +++ b/.github/shellcheck.sh @@ -31,4 +31,12 @@ shellcheck --version set +e -find . -type f \( -name '*.sh' -o -name '*.envrc' \) -print0 | xargs -0 --max-procs=2 --verbose -I{} shellcheck --check-sourced --external-sources {} +# git submodule status | awk '{print "-a -not -path **/"$2"/**"}' | tr "\n" " " | sed "s,\*\*/,'*/,g" | sed "s,/\*\*,/*',g" ; echo "\\" + +find . -type f \( -name '*.sh' -o -name '*.envrc' \) \ + -a -not -path '*/.terraform/modules/*' \ + \ + -a -not -path '*/.bash-git-prompt/*' -a -not -path '*/.zsh/kube-ps1/*' -a -not -path '*/.zsh/pure/*' -a -not -path '*/.zsh/zsh-colored-man-pages/*' -a -not -path '*/.zsh/zsh-command-time/*' -a -not -path '*/docker-files/squid/ref/docker-squid-cache-all/*' -a -not -path '*/docker-files/squid/ref/squid-in-a-can/*' -a -not -path '*/docker-files/squid/ref/squid-npm/*' \ + \ + -a -not -name 'macos-homebrew.sh' \ + -print0 | xargs -0 --max-procs=2 --verbose -I{} shellcheck --check-sourced --external-sources {} From cc768b5bfe54408885adaceeca8eafcfcd6169fa Mon Sep 17 00:00:00 2001 From: John Ko <279736+johnko@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:24:36 -0500 Subject: [PATCH 2/3] Add .github/workflows/terraform-checks.yml --- .github/workflows/terraform-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform-checks.yml b/.github/workflows/terraform-checks.yml index f150a6d..75fb7c4 100644 --- a/.github/workflows/terraform-checks.yml +++ b/.github/workflows/terraform-checks.yml @@ -15,7 +15,7 @@ jobs: run: | bash -ex .github/terraform-fmt.sh bash -ex .github/terraform-validate.sh - timeout-minutes: 10 + timeout-minutes: 20 name: terraform-checks on: pull_request: From 1a47f4044e4c088c7b482206afe3a0d9dcaf01ca Mon Sep 17 00:00:00 2001 From: John Ko <279736+johnko@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:25:12 -0500 Subject: [PATCH 3/3] Add .github/workflows/opentofu-checks.yml --- .github/workflows/opentofu-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/opentofu-checks.yml b/.github/workflows/opentofu-checks.yml index 20663b8..dd6a09f 100644 --- a/.github/workflows/opentofu-checks.yml +++ b/.github/workflows/opentofu-checks.yml @@ -17,7 +17,7 @@ jobs: run: | bash -ex .github/opentofu-fmt.sh bash -ex .github/opentofu-validate.sh - timeout-minutes: 10 + timeout-minutes: 20 name: opentofu-checks on: pull_request: