From f0831329325bd8fd119a0ba2434123c2cda8ae10 Mon Sep 17 00:00:00 2001 From: titanz Date: Sun, 12 Jan 2025 15:52:13 +0100 Subject: [PATCH] updated gitea action --- .gitea/workflows/shellcheck.yml | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 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..031e031 --- /dev/null +++ b/.gitea/workflows/shellcheck.yml @@ -0,0 +1,39 @@ +name: ShellCheck + +on: + workflow_dispatch: + push: + branches: + - master + - development + paths-ignore: + - '**.gitignore' + - '**.md' + - 'LICENSE' + - '**.conf' + - '**.service' + - '**.timer' + - '**.path' + - '**.list' + pull_request: + paths-ignore: + - '**.gitignore' + - '**.md' + - 'LICENSE' + - '**.conf' + - '**.service' + - '**.timer' + - '**.path' + - '**.list' + +jobs: + shellcheck: + name: Shell syntax checker + runs-on: ubuntu-24.04 + permissions: + contents: read + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run ShellCheck + uses: titanz/action-shellcheck@master