From 79e84f0b8ae4b21a54d491dcd827ed0c2a52921e Mon Sep 17 00:00:00 2001 From: Erick Wambugu Date: Fri, 27 Nov 2026 23:08:11 +0300 Subject: [PATCH] Add GitHub Actions workflow for shell script linting --- .github/workflows/lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..35d26ab --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,15 @@ +name: Shell Script Check + +on: + pull_request: + branches: [main] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check bash syntax + run: bash -n *.sh + - name: Run ShellCheck + run: shellcheck -S error *.sh