From dd24b26e31f0dbbac831fda16579e6f1d5bc6fdb Mon Sep 17 00:00:00 2001 From: Andy Grunwald Date: Thu, 26 Dec 2024 11:27:05 +0100 Subject: [PATCH] [GitHub Actions] Introduce Shellcheck to check bash code --- .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 0000000000..842ebabd58 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,25 @@ +name: Shellcheck + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + schedule: + - cron: "5 1 * * *" + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + ignore_paths: >- + frontend + json