steps: check_ports_labels: image: python:3.12 commands: - pip3 install -r .ci/requirements.txt - ./.ci/gen_output.sh comment: image: git.gnous.eu/enpls/gitea-comment-plugin:1.1 settings: gitea_address: https://git.gnous.eu gitea_token: from_secret: gnous_cicd_token comment_file: output.txt when: status: [failure, success] event: [pull_request] lint: image: debian:stable commands: - apt-get update - 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 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: gitea_address: https://git.gnous.eu gitea_token: from_secret: gnous_cicd_token comment_file: output.txt when: status: [failure, success] event: [pull_request] when: - event: [push, pull_request] - evaluate: 'CI_COMMIT_AUTHOR in ["gnous-ci-bot", "mael", "ada"]'