From 4eca72b4401a2d922146dba74b5ff87e07ac7bfb Mon Sep 17 00:00:00 2001 From: Peter Downey Date: Fri, 27 Nov 2026 21:13:45 -0500 Subject: [PATCH] Drop VIP's deprecated DynamicCalls sniff; run cleanup only on merges The VIP job's ruleset loads WordPress-VIP-Go, which excludes WordPressVIPMinimum.Functions.DynamicCalls, then added the whole Functions category back, so every run printed VIPCS 3.1's deprecation warning for that sniff. It now names the category's other three sniffs. The findings on the plugin's files are the same before and after. Branch Cleanup now starts only for a merged pull request from this repository, as in Site Optimizer, instead of checking out the code for every closed pull request and skipping the step. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/branch-cleanup.yml | 1 + .github/workflows/wp-compatibility-test.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/branch-cleanup.yml b/.github/workflows/branch-cleanup.yml index 577eb60..7bffb94 100644 --- a/.github/workflows/branch-cleanup.yml +++ b/.github/workflows/branch-cleanup.yml @@ -17,6 +17,7 @@ env: jobs: cleanup: + if: github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: diff --git a/.github/workflows/wp-compatibility-test.yml b/.github/workflows/wp-compatibility-test.yml index 9da5e37..970f200 100644 --- a/.github/workflows/wp-compatibility-test.yml +++ b/.github/workflows/wp-compatibility-test.yml @@ -434,7 +434,9 @@ jobs: - + + +