ci(renovate): trigger on Dependency Dashboard checkbox edits - #2353
Conversation
self-host 後、Dashboard のチェックボックス toggle で即時に Renovate を起動 できるよう issues:edited トリガーを追加する。 PAT 版でこのトリガーを外していた理由は「Renovate の dashboard 更新が issues:edited を発火 → 別 run が起動」の自走ループで、PAT だと編集者が人間 ユーザと同一のため sender フィルタが効かなかった点にあった。App 版では Renovate の編集が App bot 名義(sender.type=Bot)になるため、job-level if で 人間の Dependency Dashboard 編集だけを通してループを断てる。 - on.issues.types: [edited] を追加 - jobs.renovate.if で github.event_name!='issues' か、 sender.type=='User' かつ issue.title=='Dependency Dashboard' のみ実行 - 既存の RENOVATE_FORCE が issues イベントでも schedule を bypass するため checkbox 起動は即時実行になる - renovate-todo.md に checkbox 即時トリガー / 自走ループ無しの検証項目を追記 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 50 minutes and 15 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
✅ Code Duplication ReportSummary
✅ Code duplication rate is within the acceptable threshold. 📊 Detailed ReportConsole OutputDuplicate Code BlocksDuplicate 1
Duplicate 2
Duplicate 3
Duplicate 4
Duplicate 5
Duplicate 6
Duplicate 7
Duplicate 8
Duplicate 9
Duplicate 10
... and 35 more duplicate blocks. Run 📦 Full Report: Download the complete jscpd report from GitHub Actions Artifacts |
Deploying s-private with
|
| Latest commit: |
eeedf6c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://79c3fa0b.s-private.pages.dev |
| Branch Preview URL: | https://ci-renovate-dashboard-trigge.s-private.pages.dev |
self-host 移行の手動セットアップ手順は PR #2350 の説明と git 履歴に残っており、 リポジトリへ恒久的に置く必要がないため削除する。
Coverage Report
File CoverageNo changed files found. |
なぜ
self-host 移行(#2350)後、Dependency Dashboard のチェックボックスを on/off しても即時には反応せず、次回の定期実行(毎日 01:00 JST)か手動実行まで待つ状態だった。Mend Cloud 時代と同様に checkbox toggle で即時トリガーできるようにする。
PAT 版でこのトリガー(
issues:edited)を外していた根本原因は「Renovate の dashboard 更新がissues:editedを発火 → 別 run が起動」の自走ループで、PAT だと編集者が人間ユーザと同一のためsenderでフィルタできなかった点にある。App 版では解消できる: Renovate の dashboard 編集は **App bot 名義(
sender.type == 'Bot')**になるため、job-levelifで「人間の Dependency Dashboard 編集だけ通す」フィルタでループを断てる。変更内容(
.github/workflows/renovate.yamlのみ)on.issues.types: [edited]を追加jobs.renovate.ifで以下のみ実行:github.event_name != 'issues'(schedule / workflow_dispatch は常に通す)、またはsender.type == 'User'かつissue.title == 'Dependency Dashboard'(人間の Dashboard 編集)RENOVATE_FORCEがissuesイベントでも schedule を bypass するため、checkbox 起動は即時実行renovate-todo.mdハンドオフ用チェックリストを削除(手順は ci(renovate): self-host Renovate via GitHub App to escape Mend Cloud OOM #2350 の説明と git 履歴に残存)動作
検証済み(ローカル)
actionlint: OKghalint run: OK(policy 違反なし)🤖 Generated with Claude Code