aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
authorMichael Grote2023-11-03 19:26:10 +0100
committerMichael Grote2023-11-03 19:26:10 +0100
commit5ee4473e77e0063ffc831fc4a1e066374cf4847e (patch)
tree486402ba8fdbf31234c521a9b524d45ae7699888 /.woodpecker/lint.yml
parente27473ead44a6441e41e9da38a49b21adf02c62d (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