diff --git a/.woodpecker.yml b/.woodpecker.yml
index 6a2510e..bbefe2d 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -4,9 +4,9 @@ pipeline:
     commands:
       - go build main.go
       - go test -v ./...
-  when:
-    branch: master
-    event: [push, pull_request, tag, deployment]
+    when:
+      branch: master
+      event: [push, pull_request, tag, deployment]
 
 matrix:
   GO_VERSION: