From d10622db0b64cbeac306372d08b96db5f374a5d9 Mon Sep 17 00:00:00 2001 From: Stephan Meijer Date: Tue, 17 Feb 2026 13:07:00 +0100 Subject: [PATCH] ci: introduce shellcheck --- .github/workflows/shellcheck.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..c6e3e41 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,28 @@ +name: ShellCheck + +on: + push: + branches: [main] + paths: + - 'bin/**/*.sh' + - '.github/workflows/shellcheck.yml' + pull_request: + branches: [main] + paths: + - 'bin/**/*.sh' + - '.github/workflows/shellcheck.yml' + +jobs: + shellcheck: + name: Lint Shell Scripts + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + scandir: './bin' + severity: style