From 24d2879c4dbc1f3c015f2ba5c55aca240d163de0 Mon Sep 17 00:00:00 2001 From: Jacob Ransom Date: Fri, 14 Aug 2026 14:29:53 +1200 Subject: [PATCH 1/2] Run PHPCS on pushes to dev branches [ignore_release] The README/dashboard badge reads the latest default-branch run, which has been a failed Dec 2025 run from a fork PR branch named 5.x-dev. Push runs keep the badge reflecting the actual state of the dev branches. --- .github/workflows/phpcs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index ace3f24..2b407ce 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -1,6 +1,12 @@ name: PHPCS check -on: pull_request +on: + pull_request: + push: + branches: + - 5.x-dev + - 6.x-dev + workflow_dispatch: permissions: actions: read From 5c8a077ff6f73184e8c17f64ed14f782232015d0 Mon Sep 17 00:00:00 2001 From: Jacob Ransom Date: Fri, 14 Aug 2026 15:09:37 +1200 Subject: [PATCH 2/2] Drop the push triggers, keep workflow_dispatch only [ignore_release] PHPCS is already enforced on every PR before merge, so per-push runs add nothing. A single manual dispatch on 5.x-dev is enough to refresh the stale badge. --- .github/workflows/phpcs.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 2b407ce..b5368b7 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -2,10 +2,6 @@ name: PHPCS check on: pull_request: - push: - branches: - - 5.x-dev - - 6.x-dev workflow_dispatch: permissions: