From 6687c2de15141d4e369cd7d6ad96abdcc276477d Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 11 Feb 2024 17:48:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Run=20backend=20linters=20on=20c?= =?UTF-8?q?ommits=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Try to force the linters to run even if the previous one fails. --- backend/.woodpecker/.lint.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/backend/.woodpecker/.lint.yaml b/backend/.woodpecker/.lint.yaml index f2e017a..1167f1f 100644 --- a/backend/.woodpecker/.lint.yaml +++ b/backend/.woodpecker/.lint.yaml @@ -1,15 +1,19 @@ +when: + - event: push + - branch: + exclude: [master, release/*] + steps: - name: ruff image: python:3.12-alpine commands: - pip install ruff - ruff --output-format github . - when: - - branch: - exclude: [master, develop, release/*] - name: mypy image: python:3.12-alpine commands: | pip install mypy mypy . + +runs_on: [ success, failure ]