From fc150a4eee7c633928c0dab4a0e4ea920e688752 Mon Sep 17 00:00:00 2001 From: "Factory: remote-delegations" <138933559+factory-droid[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 07:57:00 +0000 Subject: [PATCH] ci: cap PR risk approvals at minimal risk approve_risk_level: minimal, so the Droid App approves only pull requests it rates minimal; low, medium and high wait for a human. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- .factory/review.yaml | 4 ++-- .github/workflows/droid-review.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.factory/review.yaml b/.factory/review.yaml index 02d2fe2a..9cfb0f52 100644 --- a/.factory/review.yaml +++ b/.factory/review.yaml @@ -3,8 +3,8 @@ # `rules`; Droid Auto Review leaves that key to Factory. rules: # Every pull request is assessed and gets a risk comment. The Droid App may - # approve a pull request whose overall risk is minimal or low; one rated + # approve only a pull request whose overall risk is minimal; one rated low, # medium or high waits for a human. Setting approve_pr: false stops every # approval and keeps the comments (shadow mode). - risk_assessment: - approve_risk_level: low + approve_risk_level: minimal diff --git a/.github/workflows/droid-review.yml b/.github/workflows/droid-review.yml index b7c7f330..5af87c10 100644 --- a/.github/workflows/droid-review.yml +++ b/.github/workflows/droid-review.yml @@ -8,7 +8,8 @@ name: Droid Auto Review # # Factory accepts risk reports only from this file as it is on the default # branch, so edits to it take effect after merge. .factory/review.yaml caps -# the Droid App's approvals at low overall risk (approve_risk_level: low). +# the Droid App's approvals at minimal overall risk +# (approve_risk_level: minimal). # # Every push runs the risk step, which reassesses the new head once every # Droid review thread is resolved. Drafts run only the risk step, which