From db4c529e90d5bc03cf1b9cd28324ead5f8886b11 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Tue, 30 Dec 2025 11:19:19 -0300 Subject: [PATCH 1/2] fix: disable ratelimit at integration tests Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/workflows/behat-mariadb.yml | 1 + .github/workflows/behat-mysql.yml | 1 + .github/workflows/behat-pgsql.yml | 1 + .github/workflows/behat-sqlite.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/behat-mariadb.yml b/.github/workflows/behat-mariadb.yml index 69216999b9..b3ff904920 100644 --- a/.github/workflows/behat-mariadb.yml +++ b/.github/workflows/behat-mariadb.yml @@ -157,6 +157,7 @@ jobs: ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set ratelimit.protection.enabled --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-mysql.yml b/.github/workflows/behat-mysql.yml index 6b98ee60e9..4570143e52 100644 --- a/.github/workflows/behat-mysql.yml +++ b/.github/workflows/behat-mysql.yml @@ -169,6 +169,7 @@ jobs: ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set ratelimit.protection.enabled --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-pgsql.yml b/.github/workflows/behat-pgsql.yml index 25c41a70c0..013352be1b 100644 --- a/.github/workflows/behat-pgsql.yml +++ b/.github/workflows/behat-pgsql.yml @@ -163,6 +163,7 @@ jobs: ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set ratelimit.protection.enabled --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-sqlite.yml b/.github/workflows/behat-sqlite.yml index 66a2ca6412..111c302636 100644 --- a/.github/workflows/behat-sqlite.yml +++ b/.github/workflows/behat-sqlite.yml @@ -154,6 +154,7 @@ jobs: ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set ratelimit.protection.enabled --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration From d714ec622bbfbeb9ef0125df4ccb9ed1b3a67c71 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Tue, 30 Dec 2025 11:22:16 -0300 Subject: [PATCH 2/2] chore: sort rows Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/workflows/behat-mariadb.yml | 6 +++--- .github/workflows/behat-mysql.yml | 6 +++--- .github/workflows/behat-pgsql.yml | 6 +++--- .github/workflows/behat-sqlite.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/behat-mariadb.yml b/.github/workflows/behat-mariadb.yml index b3ff904920..041cb7e384 100644 --- a/.github/workflows/behat-mariadb.yml +++ b/.github/workflows/behat-mariadb.yml @@ -152,12 +152,12 @@ jobs: ./occ app:enable --force activity git clone --depth 1 -b main https://github.com/nextcloud/guests apps/guests ./occ app:enable --force guests - ./occ config:system:set mail_smtpport --value 1025 --type integer - ./occ config:system:set mail_smtphost --value mailhog ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean - ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set mail_smtphost --value mailhog + ./occ config:system:set mail_smtpport --value 1025 --type integer ./occ config:system:set ratelimit.protection.enabled --value false --type boolean + ./occ config:app:set dav enableDefaultContact --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-mysql.yml b/.github/workflows/behat-mysql.yml index 4570143e52..34b40b577d 100644 --- a/.github/workflows/behat-mysql.yml +++ b/.github/workflows/behat-mysql.yml @@ -164,12 +164,12 @@ jobs: ./occ app:enable --force activity git clone --depth 1 -b main https://github.com/nextcloud/guests apps/guests ./occ app:enable --force guests - ./occ config:system:set mail_smtpport --value 1025 --type integer - ./occ config:system:set mail_smtphost --value mailhog ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean - ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set mail_smtphost --value mailhog + ./occ config:system:set mail_smtpport --value 1025 --type integer ./occ config:system:set ratelimit.protection.enabled --value false --type boolean + ./occ config:app:set dav enableDefaultContact --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-pgsql.yml b/.github/workflows/behat-pgsql.yml index 013352be1b..70c5c49fd9 100644 --- a/.github/workflows/behat-pgsql.yml +++ b/.github/workflows/behat-pgsql.yml @@ -158,12 +158,12 @@ jobs: ./occ app:enable --force activity git clone --depth 1 -b main https://github.com/nextcloud/guests apps/guests ./occ app:enable --force guests - ./occ config:system:set mail_smtpport --value 1025 --type integer - ./occ config:system:set mail_smtphost --value mailhog ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean - ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set mail_smtphost --value mailhog + ./occ config:system:set mail_smtpport --value 1025 --type integer ./occ config:system:set ratelimit.protection.enabled --value false --type boolean + ./occ config:app:set dav enableDefaultContact --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration diff --git a/.github/workflows/behat-sqlite.yml b/.github/workflows/behat-sqlite.yml index 111c302636..1e66a9149f 100644 --- a/.github/workflows/behat-sqlite.yml +++ b/.github/workflows/behat-sqlite.yml @@ -149,12 +149,12 @@ jobs: ./occ app:enable --force activity git clone --depth 1 -b main https://github.com/nextcloud/guests apps/guests ./occ app:enable --force guests - ./occ config:system:set mail_smtpport --value 1025 --type integer - ./occ config:system:set mail_smtphost --value mailhog ./occ config:system:set allow_local_remote_servers --value true --type boolean ./occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean - ./occ config:app:set dav enableDefaultContact --value false --type boolean + ./occ config:system:set mail_smtphost --value mailhog + ./occ config:system:set mail_smtpport --value 1025 --type integer ./occ config:system:set ratelimit.protection.enabled --value false --type boolean + ./occ config:app:set dav enableDefaultContact --value false --type boolean - name: Run behat working-directory: apps/${{ env.APP_NAME }}/tests/integration