From 8fb1612fbdcc2d64681cb708fb5223757531a661 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:31:51 +0200 Subject: [PATCH 1/4] ci: fix when --- .woodpecker/lint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 8f5aaf6..df32538 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -5,6 +5,8 @@ steps: commands: - gitleaks detect --no-git --verbose --source $CI_WORKSPACE when: + - event: push + - event: pull_request - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: @@ -18,5 +20,7 @@ steps: fi done when: + - event: push + - event: pull_request - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' ... From 4b67bf4fd591f2a7cdd1d50efb4dcd028f63f910 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:33:30 +0200 Subject: [PATCH 2/4] ci: test --- .woodpecker/lint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index df32538..aef494e 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -6,8 +6,9 @@ steps: - gitleaks detect --no-git --verbose --source $CI_WORKSPACE when: - event: push + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: pull_request - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: image: "koalaman/shellcheck-alpine:v0.10.0" @@ -21,6 +22,7 @@ steps: done when: - event: push + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: pull_request - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' ... From e19f67f491f06ea734c6ca628c5ca219554f4ee2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:34:03 +0200 Subject: [PATCH 3/4] ci: test --- .woodpecker/lint.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index aef494e..cb71c77 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -21,8 +21,6 @@ steps: fi done when: - - event: push - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - - event: pull_request + - event: [push, pull_request] evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' ... From cb016f5b483260a0047452b4c0a30d956dc7d46b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 6 May 2024 23:34:22 +0200 Subject: [PATCH 4/4] ci: fix when --- .woodpecker/lint.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index cb71c77..f8a46cc 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -5,9 +5,7 @@ steps: commands: - gitleaks detect --no-git --verbose --source $CI_WORKSPACE when: - - event: push - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - - event: pull_request + - event: [push, pull_request] evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: