Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>SonarSource/renovate-config:quality-corelang-squad"
"github>SonarSource/renovate-config:quality-analysis-platform-squad"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Cross-PR: Renovate config breaks while preset rename is half-merged · SonarSource/renovate-config #187

Breaks when either this PR or SonarSource/renovate-config#187 merges before the other, so the next Renovate run on sonar-java cannot find its preset.

How

  1. .github/renovate.json:4 extends github>SonarSource/renovate-config:quality-analysis-platform-squad, and Renovate looks up quality-analysis-platform-squad.json on renovate-config's default branch.
  2. That file does not exist on master yet. It is only added by the counterpart, at quality-analysis-platform-squad.json:1.
  3. The counterpart renames quality-corelang-squad.json rather than copying it. So if it merges first, the current quality-corelang-squad reference here stops resolving too.
  4. When a named preset is missing, Renovate raises a CONFIG_VALIDATION error ("Cannot find preset's package") and stops creating update PRs for the repo until the config is fixed.

Fix

Compared ed1dd5c with SonarSource/renovate-config#187 at 4894218

Was this helpful? React with 👍 / 👎

],
"ignorePaths": [
"docs/**",
Expand Down
Loading