From 0b8bddb1f6e727d924023e71e7b8c24a45796bc8 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 16 Aug 2024 14:41:51 +0200 Subject: [PATCH] Run shellcheck in CI --- .gitea/workflows/shellcheck.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/shellcheck.yml diff --git a/.gitea/workflows/shellcheck.yml b/.gitea/workflows/shellcheck.yml new file mode 100644 index 0000000..f47cdff --- /dev/null +++ b/.gitea/workflows/shellcheck.yml @@ -0,0 +1,18 @@ +on: + workflow_call: + push: + branches: + - main + pull_request: + schedule: + - cron: '0 0 * * *' + +jobs: + shellcheck: + name: Check scripts + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: https://gitea.com/actions/checkout@v4 + - name: Run shellcheck + run: shellcheck ./container/*.sh