From 68cb239dfe3a3e7c7c0d8abcf72e260344394e6d Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 13 Jan 2022 15:29:43 +0100 Subject: [PATCH] Make sure CI works as little as needed --- .woodpecker/.build.yml | 4 ++++ .woodpecker/.lint.yml | 4 ++++ .woodpecker/.publish.yml | 8 ++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 40a50e1..4830d10 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -1,3 +1,7 @@ +# These checks already get performed on the feature branches +branches: + exclude: [ main, dev ] + pipeline: vieter: image: 'chewingbever/vlang:latest' diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml index c72c13a..ae47c32 100644 --- a/.woodpecker/.lint.yml +++ b/.woodpecker/.lint.yml @@ -1,3 +1,7 @@ +# These checks already get performed on the feature branches +branches: + exclude: [ main, dev ] + pipeline: lint: image: 'chewingbever/vlang:latest' diff --git a/.woodpecker/.publish.yml b/.woodpecker/.publish.yml index 1e52db3..34a3675 100644 --- a/.woodpecker/.publish.yml +++ b/.woodpecker/.publish.yml @@ -1,3 +1,5 @@ +branches: [main, dev] + pipeline: dev: image: plugins/docker @@ -21,9 +23,3 @@ pipeline: when: event: tag branch: main - -branches: [main, dev] - -depends_on: - - lint - - build -- 2.40.1