aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
blob: 0fcfd5f08275f777fa3665295d6eeca1eb0130d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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