From 058ea240cc77e7a630dc46f3bee55e0c66411f1a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 6 Feb 2024 20:15:16 +0100 Subject: [PATCH] ci: dont run on renovate updates --- .woodpecker/build.yml | 3 +++ .woodpecker/lint.yml | 10 ++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 0e8584f..20a18dc 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -17,3 +17,6 @@ steps: - ${CI_COMMIT_SHA:0:8} - ${CI_COMMIT_BRANCH} - latest + when: + - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + ... diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 71ad99d..ba60b51 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -5,18 +5,14 @@ steps: commands: - gitleaks detect --no-git --verbose --source $CI_WORKSPACE when: - event: - exclude: - - tag + - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' hadolint: image: pipelinecomponents/hadolint:0.26.0@sha256:7122937006c7a9bcbb78ce764d3c2f0092f183b843ad128bc9fd6ea918e22d5b commands: - hadolint Dockerfile when: - event: - exclude: - - tag + - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: image: "koalaman/shellcheck-alpine:latest@sha256:7b0682c5786633fc075f69852e5c7521767e8dcb512c43cf8041b022bdc98198" @@ -28,4 +24,6 @@ steps: shellcheck "$file_path" fi done + when: + - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' ...