From 8cd818c535d4ab5218ba00ec1600e3ce6606a802 Mon Sep 17 00:00:00 2001 From: Martijn van der Kleijn Date: Sun, 16 Jun 2024 00:10:32 +0200 Subject: [PATCH] Update CI workflows to run on PR for integration Signed-off-by: Martijn van der Kleijn --- .woodpecker/build.yml | 3 +++ .woodpecker/integration.yml | 3 +++ .woodpecker/lint.yml | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index a63a97b..ceddd93 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -6,6 +6,9 @@ when: event: push path: exclude: ['*.md', 'docs/**'] + - event: [pull_request] + path: + exclude: ['*.md', 'docs/**'] steps: - name: build diff --git a/.woodpecker/integration.yml b/.woodpecker/integration.yml index d089900..c33ba26 100644 --- a/.woodpecker/integration.yml +++ b/.woodpecker/integration.yml @@ -6,6 +6,9 @@ when: event: push path: exclude: ['*.md', 'docs/**'] + - event: [pull_request] + path: + exclude: ['*.md', 'docs/**'] steps: - name: verify_connection diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 6b1d4c7..94b482d 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -2,7 +2,9 @@ variables: - &golang_image 'golang:1.22' when: - - event: [push, pull_request, manual] + - branch: main + event: push + - event: [pull_request, manual] steps: - name: vendor