Skip to content

Automerge weekly phpstan and php-cs-fixer updates without a PR - #1981

Merged
spawnia merged 2 commits into
masterfrom
renovate-branch-automerge
Sep 27, 2026
Merged

spawnia merged 2 commits into
masterfrom
renovate-branch-automerge

Conversation

@spawnia

@spawnia spawnia commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Renovate opened about 30 PRs in 4 months, mostly php-cs-fixer patch releases.
phpstan and php-cs-fixer updates now come weekly, and Renovate merges them without a PR when checks pass.
They stay in separate groups: php-cs-fixer updates are mechanical, phpstan updates sometimes need refactoring.

CI now also runs on pushes to renovate/** branches

Branch automerge pushes to a renovate/* branch without opening a PR.
The autofix, static analysis and test workflows only ran on pull_request and pushes to master, so that branch would get no checks.
Renovate opens a PR only when checks fail, so runs are doubled only for a failing update.
benchmarks.yml stays as is: on push it records benchmark history, and its checks are not required.

autofix and all PHP versions are now required checks on master

Required checks on master already include autofix and every PHPStan and PHPUnit job, 8.0 to 8.5.
Before that, Renovate automerged #1975, #1977 and #1979 while autofix failed.

matchPackagePatterns is deprecated

It becomes a regex in matchPackageNames: /phpstan/.

🤖 Generated with Claude Code

Run CI on pushes to renovate/** so branch automerge has checks to wait for.
Replace deprecated matchPackagePatterns with a regex in matchPackageNames.

🤖 Generated with Claude Code
php-cs-fixer updates are mechanical, phpstan updates sometimes need refactoring.

🤖 Generated with Claude Code
@spawnia spawnia changed the title Group dev tool updates weekly and automerge them without a PR Automerge weekly phpstan and php-cs-fixer updates without a PR Sep 27, 2026
@spawnia
spawnia marked this pull request as ready for review September 27, 2026 10:28
@spawnia
spawnia requested a review from simPod September 27, 2026 10:28
@spawnia
spawnia merged commit 9743e41 into master Sep 27, 2026
22 checks passed
@spawnia
spawnia deleted the renovate-branch-automerge branch September 27, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants