From 5265b3884b5f05e9000abeb7d6fc63a69c2b9b5c Mon Sep 17 00:00:00 2001 From: crapStone Date: Tue, 23 Jul 2024 22:58:34 +0200 Subject: [PATCH] don't depend on lint for push to main --- .woodpecker/build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 9bf20f9..eb6af24 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -2,9 +2,6 @@ when: - event: [push, pull_request, tag, cron] branch: ${CI_REPO_DEFAULT_BRANCH} -depends_on: - - lint - steps: # use vendor to cache dependencies vendor: @@ -31,7 +28,7 @@ steps: dry-run: true tags: latest when: - - event: [push, pull_request] + - event: [pull_request] path: Dockerfile build-tag: @@ -51,7 +48,7 @@ steps: commands: - just test when: - - event: [push, pull_request] + - event: [pull_request] integration-tests: depends_on: build @@ -65,7 +62,7 @@ steps: - RAW_DOMAIN=raw.localhost.mock.directory - PORT=4430 when: - - event: [push, pull_request] + - event: [pull_request] release: depends_on: build