From ba921c8955e938e8089a0f07fb86c288fe55c9d8 Mon Sep 17 00:00:00 2001 From: Igor Todorovski Date: Thu, 5 Oct 2023 14:04:15 -0400 Subject: [PATCH] Add github status check for shell check - https://github.com/koalaman/shellcheck --- .github/workflows/shellcheck.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 000000000..271789800 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,25 @@ +name: shellcheck + +on: + pull_request: + types: [opened, synchronize] + paths: + - '**.sh' + - '**zopen-*' + - '**/zopen' + push: + branches: + - main + paths: + - '**.sh' + - '**zopen-*' + - '**/zopen' + +jobs: + shellcheck-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Lint check + uses: azohra/shell-linter@v0.6.0