From 7eefe52e01dc1299b63af860e150e3972e5c7ad0 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 5f1ca73cd0..c6f3015449 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 bd50ce9277..9ce0afcf9d 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 11595d3ef5..88b746b029 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 1ffe544cd7..f6b404d5c2 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 17b405c164ad77f26838e8084eee61ec64fe199b 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 c6f3015449..e1fe27e3f8 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 9ce0afcf9d..21a5affdf5 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 88b746b029..349e41b339 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 f6b404d5c2..59d0a7c85c 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