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"' -...