2024-01-29 12:13:07 +01:00
|
|
|
---
|
|
|
|
steps:
|
|
|
|
gitleaks:
|
2024-02-01 21:45:26 +01:00
|
|
|
image: zricethezav/gitleaks:v8.18.2@sha256:eadfe256fa18d6a78a717abc9ed454c8e03865d1c46d627bca83977f4424901a
|
2024-01-29 12:13:07 +01:00
|
|
|
commands:
|
|
|
|
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
shellcheck:
|
2024-02-02 21:41:50 +01:00
|
|
|
image: registry.mgrote.net/allzweckcontainer@sha256:5ac77318fc5fd4c6b6670cc3e54d3bf0e8639e1b25d00af1a9ed41e7853ad4fb
|
2024-01-29 12:13:07 +01:00
|
|
|
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:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|
|
|
|
...
|