From 9ce2142d9993aafd2589c6b54faa2e677d1e77dd Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 15 Mar 2024 23:48:49 +0100 Subject: [PATCH] Adhere deprecation notes - Use `when:` - Remove `group: lint` --- .woodpecker/.database_checks.yml | 5 +++-- .woodpecker/.messages.po_check.yml | 5 +++-- .woodpecker/.phpunit.yml | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.woodpecker/.database_checks.yml b/.woodpecker/.database_checks.yml index e713ce07d6..390df0a6be 100644 --- a/.woodpecker/.database_checks.yml +++ b/.woodpecker/.database_checks.yml @@ -3,8 +3,9 @@ matrix: - PHP_MAJOR_VERSION: 8.2 PHP_VERSION: 8.2.16 -branches: - exclude: [ stable ] +when: + - branch: + exclude: [ stable ] # This forces CI executions at the "opensocial" labeled location (because of much more power...) labels: diff --git a/.woodpecker/.messages.po_check.yml b/.woodpecker/.messages.po_check.yml index 9c25095940..d568aa49fe 100644 --- a/.woodpecker/.messages.po_check.yml +++ b/.woodpecker/.messages.po_check.yml @@ -8,5 +8,6 @@ steps: commands: - /check-messages.sh -branches: - exclude: [ stable ] +when: + - branch: + exclude: [ stable ] diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index 0699d78b5b..7141ef8943 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -18,7 +18,6 @@ labels: steps: php-lint: image: php:${PHP_MAJOR_VERSION} - group: lint commands: - find . -name \*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l restore_cache: