diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 6ed3b15..00cbf33 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -21,7 +21,9 @@ steps: - apt-get install -y curl - curl -SL https://github.com/docker/compose/releases/download/v2.20.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose - - sh .ci/lint.sh | tee output.txt + - sh .ci/lint.sh 2>&1 | tee output_tmp.txt + - echo "\`\`\`" > output.txt + - grep 'msg=' output.txt | awk -F'msg="' '{print $2}' | sed 's/"$//' | sed 's/\\"/"/g' && echo "\`\`\`" >> output.txt comment_lint: image: git.gnous.eu/enpls/gitea-comment-plugin:stable settings: