httpd/.woodpecker/lint.yml
Michael Grote f52f3825eb
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
gitleaks / gitleaks (push) Failing after 3s
ci/woodpecker/push/build Pipeline was successful
switch hadolint to gitea-actions
2024-08-27 21:20:58 +02:00

16 lines
524 B
YAML

---
steps:
shellcheck:
image: "koalaman/shellcheck-alpine:v0.10.0"
commands:
- |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
if echo "$line" | grep -q "shell script"; then
file_path=$(echo "$line" | awk -F':' '{print $1}')
shellcheck "$file_path"
fi
done
when:
- event: [push, pull_request, cron]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
...