aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
blob: 176feb0641bae2008f659ad83d2f68572dcf6abb (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