Skip to content
Avalir1996 edited this page Feb 6, 2024 · 1 revision

For a basic configuration, place the following in your `.drone.yml`:

---
kind: pipeline
type: docker
name: default

steps:
  - name: shellcheck
    image: koalaman/shellcheck-alpine:stable
    commands:
      - "shellcheck testScript.sh"

To check all `.sh` files in the repo:

steps:
  - name: shellcheck
    image: koalaman/shellcheck-alpine:stable
    commands:
      - "find . -name *.sh -exec shellcheck {} +"

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature guerraart8 to find a specific , or see Checks.

Clone this wiki locally