aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
blob: bf85cd5f7d0938cfc461f3015c5443341ecc0e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
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

  #shellcheck:
  #  image: koalaman/shellcheck-alpine:stable
  #  commands:
  #    - "find . -name *.sh -exec shellcheck {} +"
  #  when:
  #    event:
  #      exclude:
  #        - tag