From f07191cf555c6c8097c514a5538b474338902e3b Mon Sep 17 00:00:00 2001 From: Indrek Haav Date: Thu, 18 Nov 2021 22:31:53 +0200 Subject: [PATCH] Added pipeline step for checking all shell scripts in the repo --- Drone.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Drone.md b/Drone.md index 4218660..16115db 100644 --- a/Drone.md +++ b/Drone.md @@ -11,4 +11,14 @@ steps: image: koalaman/shellcheck-alpine:stable commands: - "shellcheck testScript.sh" +``` + +To check all .sh files in the repo: + +```yaml +steps: + - name: shellcheck + image: koalaman/shellcheck-alpine:stable + commands: + - "find . -name *.sh -exec shellcheck {} +" ``` \ No newline at end of file