diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 51e5a9e..1ef6bf7 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -4,3 +4,9 @@ steps: commands: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest - golangci-lint run +when: + - event: pull_request + repo: ada/spiegel + - event: push + branch: main + repo: ada/spiegel diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index 7a4f5db..827f5bc 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -3,3 +3,10 @@ steps: image: golang:1.22 commands: - go test ./... + +when: + - event: pull_request + repo: ada/spiegel + - event: push + branch: main + repo: ada/spiegel