Skip to content

fix: keep production dependency updates out of automerge - #46

Merged
panicboat merged 1 commit into
mainfrom
fix/renovate-production-automerge
Oct 31, 2026
Merged

panicboat merged 1 commit into
mainfrom
fix/renovate-production-automerge

Conversation

@panicboat

Copy link
Copy Markdown
Owner

What This PR Does

production のファイルの Renovate の PR が automerge されないように、default.json のルールの順序を直します。

What Needs to Change

  • production のファイルの PR が、確認なしで automerge されている。
    • Reason: Renovate は一致したルールを順に適用するので、後ろの「minor と patch は automerge」のルールが、production の automerge: false を上書きしていた。platform の production ラベル付きの直近 40 件のうち、37 件を Renovate がマージしていた。

What Changes for Users

  • production のファイルの Renovate の PR は、手動でマージします。
    • Before: minor と patch は自動でマージされる。
    • After: 更新の種類にかかわらず自動でマージされない。

What to Review Closely

  • production の更新の PR を手動でマージする運用になること。
    • Reason: これまで自動で入っていた分が、手元に残るようになる。

What Was Decided

  • production のルールを最後に移す。
    • Reason: 後ろのルールが優先されるので、production の指定を最も優先させるため。
    • 間違っていた場合の影響: 手動でマージする PR が増える。

What Else Is Affected

Documents

  • 利用規約
  • プライバシーポリシー
  • ドキュメント

Systems & Operations

  • 影響があるのは、**/production/** のファイルを変える Renovate の PR です。
    • panicboat/.github の pin の更新は .github/workflows のファイルなので、これまでどおり自動でマージされます。

How It Was Verified

  • renovate-config-validator --strict default.json が成功しました。
  • scripts/workflows/test.sh に、production のルールが最後にあることを確かめるテストを足しました。
  • 実際に automerge されなくなることは、次の Renovate の PR で確かめます。

🤖 Generated with Claude Code

https://claude.ai/code/session_01N1XYRqYewzhQfyJcM9zFjG

Renovate applies matching packageRules in order, so the later minor and patch rule turned automerge back on for production files. Recent production pull requests were merged without review.

Claude-Session: https://claude.ai/code/session_01N1XYRqYewzhQfyJcM9zFjG
Signed-off-by: panicboat <panicboat@gmail.com>
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b5219ad-b5d0-43de-9ac9-48a36d7c432f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@panicboat
panicboat marked this pull request as ready for review October 31, 2026 00:17
@panicboat
panicboat merged commit ffacddd into main Oct 31, 2026
7 checks passed
@panicboat
panicboat deleted the fix/renovate-production-automerge branch October 31, 2026 00:17
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.

1 participant