aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
authorMichael Grote2024-09-02 21:26:37 +0200
committerMichael Grote2024-09-02 21:26:37 +0200
commit49b3121b01f030784d31b0e4f860dcf3a5dc7f87 (patch)
tree0f6feeda6fb4f47c13613ff0931a822b5ea17ab3 /.woodpecker/lint.yml
parente1905be377cf1a0c458505f9d91b5eff31ae5918 (diff)
switch to gitea-actions
Diffstat (limited to '.woodpecker/lint.yml')
-rw-r--r--.woodpecker/lint.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml
deleted file mode 100644
index 0e29901..0000000
--- a/.woodpecker/lint.yml
+++ /dev/null
@@ -1,41 +0,0 @@
----
-steps:
- gitleaks:
- image: zricethezav/gitleaks:v8.18.4
- commands:
- - gitleaks detect --no-git --verbose --source $CI_WORKSPACE
- when:
- - event: [push, pull_request, cron]
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
-
- hadolint:
- image: pipelinecomponents/hadolint:0.26.4
- commands:
- - hadolint Dockerfile
- when:
- - event: [push, pull_request, cron]
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
-
- pylint:
- image: "registry.mgrote.net/pylint:master"
- commands:
- - pip3 install --no-cache-dir --break-system-packages -r requirements.txt
- - pylint app.py
- when:
- - event: [push, pull_request, cron]
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
-
- shellcheck:
- image: koalaman/shellcheck-alpine:v0.10.0
- commands:
- - |
- find . -type f -not -path './.git/*' -not -path './collections/*' -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: [push, pull_request, cron]
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
-...