From 4f1f28ccf4e7d08705624c6f63e5c2924d1432fb Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Tue, 14 Nov 2023 01:58:01 +0000 Subject: [PATCH 1/2] CI: Add ShellCheck --- .github/workflows/shellcheck.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/shellcheck.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..16d7199 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,17 @@ +name: ShellCheck + +on: + push: + branches: [ "main" ] + pull_request: + merge_group: + + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master From fb36b2822ea7308d65041d85b6e778f55b1da486 Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Tue, 14 Nov 2023 02:04:12 +0000 Subject: [PATCH 2/2] x --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index d041c93..6ca411c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +# shellcheck source=/dev/null + set -ex # Environment