ci: remove lint-step

This commit is contained in:
Michael Grote 2024-02-07 15:18:34 +01:00
parent e6b47dfefe
commit 19b45dd3a0
2 changed files with 0 additions and 23 deletions

View file

@ -1,7 +1,6 @@
---
depends_on:
- gitleaks
- lint
steps:
ansible-lint:

View file

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