aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
authorMichael Grote2023-11-07 15:36:33 +0100
committerMichael Grote2023-11-07 15:36:33 +0100
commit15f03a20ceddaaa7cfb8c34fe030a9c4938ba389 (patch)
tree6d86c8253d584080cb246d21bf9403c322d1347c /.woodpecker/lint.yml
parent11cad3a3ab36ea07a1d8e2334599f89b12bc8e62 (diff)
drone -> woodpecker
Diffstat (limited to '.woodpecker/lint.yml')
-rw-r--r--.woodpecker/lint.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml
new file mode 100644
index 0000000..0fcfd5f
--- /dev/null
+++ b/.woodpecker/lint.yml
@@ -0,0 +1,21 @@
+---
+kind: pipeline
+type: docker
+name: linting
+steps:
+ gitleaks:
+ image: zricethezav/gitleaks:latest
+ commands:
+ - gitleaks detect --no-git --verbose --source $CI_WORKSPACE
+ when:
+ event:
+ exclude:
+ - tag
+ hadolint:
+ image: hadolint/hadolint:latest-debian
+ commands:
+ - hadolint Dockerfile
+ when:
+ event:
+ exclude:
+ - tag