From 49b3121b01f030784d31b0e4f860dcf3a5dc7f87 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 2 Sep 2024 21:26:37 +0200 Subject: switch to gitea-actions --- .woodpecker/lint.yml | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .woodpecker/lint.yml (limited to '.woodpecker/lint.yml') 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"' -... -- cgit v1.2.3