From 8eda1d039ffeeeeb3555b27783f7ab63dc922d17 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 14 Sep 2026 15:54:44 +0930 Subject: [PATCH] Make DB matrix workflow manual-only (workflow_dispatch) An empty 'branches: []' under push/pull_request does not disable a trigger; GitHub treats it as no branch filter and runs on every ref. Expose only workflow_dispatch so the experimental suite runs solely on manual trigger. --- .github/workflows/php-laravel-tests-db-matrix.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-laravel-tests-db-matrix.yml b/.github/workflows/php-laravel-tests-db-matrix.yml index d72c49698..d2cae77da 100644 --- a/.github/workflows/php-laravel-tests-db-matrix.yml +++ b/.github/workflows/php-laravel-tests-db-matrix.yml @@ -8,11 +8,13 @@ name: PHP - Laravel Tests (DB Matrix - experimental) # status score. It exists purely for manual investigation of DB-specific # behavior (strict mode, ONLY_FULL_GROUP_BY, unsigned underflow, etc.). +# Manual-only: this experimental workflow never runs automatically. An empty +# `branches: []` under push/pull_request does NOT disable a trigger (GitHub +# treats it as "no branch filter" and runs on every ref), so the only reliable +# way to keep it off automatic runs is to expose just workflow_dispatch and +# trigger it by hand from the Actions tab. on: - push: - branches: [] - pull_request: - branches: [] + workflow_dispatch: # Never let this experimental workflow block anything. permissions: