From f8819622ec5925b3ced1aa6d22b005a77036c45e Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 31 May 2024 10:29:25 -0700 Subject: [PATCH] Add shellcheck Signed-off-by: Tommy --- .github/workflows/shellcheck.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..b77e198 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,27 @@ +name: ShellCheck + +on: + workflow_dispatch: + push: + branches: + - master + - main + paths-ignore: + - '**.gitignore' + - '**.md' + - 'LICENSE' + pull_request: + paths-ignore: + - '**.gitignore' + - '**.md' + - 'LICENSE' + +jobs: + shellcheck: + name: Bash syntax checker + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master \ No newline at end of file