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