From 19b45dd3a0ba91a464a60f5f527904b570b29cca Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 7 Feb 2024 15:18:34 +0100 Subject: [PATCH] ci: remove lint-step --- .woodpecker/ansible-lint.yml | 1 - .woodpecker/lint.yml | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 .woodpecker/lint.yml diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml index 9e11be64..fdbaf206 100644 --- a/.woodpecker/ansible-lint.yml +++ b/.woodpecker/ansible-lint.yml @@ -1,7 +1,6 @@ --- depends_on: - gitleaks - - lint steps: ansible-lint: diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml deleted file mode 100644 index e3fbfb3a..00000000 --- a/.woodpecker/lint.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -steps: - gitleaks: - image: zricethezav/gitleaks:v8.18.2 - commands: - - gitleaks detect --no-git --verbose --source $CI_WORKSPACE - when: - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - - shellcheck: - image: registry.mgrote.net/allzweckcontainer - commands: - - | - find . -type f -not -path './.git/*' -not -path './collections/*' -not -path './friedhof/*' -exec file {} \; | while IFS= read -r line; do - if echo "$line" | grep -q "shell script"; then - file_path=$(echo "$line" | awk -F':' '{print $1}') - shellcheck "$file_path" - fi - done - when: - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' -...