diff --git a/.woodpecker.yml b/.woodpecker.yml index 4cee7c4..9877b28 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,6 +20,13 @@ steps: - cargo run -- --print-config > config/defaults_current.toml - diff config/defaults.toml config/defaults_current.toml + ignored_files: + image: alpine:3 + commands: + - apk add git + - IGNORED=$(git ls-files --cached -i --exclude-standard) + - if [[ "$IGNORED" ]]; then echo "Ignored files present:\n$IGNORED\n"; exit 1; fi + check_diesel_schema: image: willsquire/diesel-cli environment: