Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-rendering Commit: 52d81ec777d0ea7d467e25c77380524237bb0595 https://github.com/xwiki/xwiki-rendering/commit/52d81ec777d0ea7d467e25c77380... Author: Vincent Massol <[email protected]> Date: 2026-08-27 (Thu, 27 Aug 2026) Changed paths: M .github/workflows/sonar-pr.yml Log Message: ----------- [Misc] Build only the modules a pull request changes in its SonarCloud analysis * Select the modules owning the files the pull request changes and pass them to the build and to sonar:sonar with -pl, instead of building and scanning the whole reactor. A pull request analysis reports on its own new code only and every condition of the XWiki quality gate is on a new code metric, so an untouched module can neither contribute an issue nor fail the gate. * Select every ancestor aggregator of a changed module along with it, and always select the root: sonar:sonar rebuilds the project tree out of the reactor and fails on an orphan module or on a reactor with no top level project. * Ignore a changed file whose module is not in the reactor this workflow builds, a legacy module or the pom.xml the macro archetype ships as a resource: -pl rejects such a path, and a whole reactor build does not analyze those either. * Fall back to the whole reactor when the root pom or an aggregator pom changed. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications