From 58f18adb69592410d2fd57cdb1f2fe2f371f574b Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 18 Nov 2026 12:01:21 +0100 Subject: [PATCH 1/2] ci: run apify-factory review from `main` and on more events --- .github/workflows/factory_review.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/factory_review.yaml b/.github/workflows/factory_review.yaml index 1ca80ef2..e8da9be3 100644 --- a/.github/workflows/factory_review.yaml +++ b/.github/workflows/factory_review.yaml @@ -5,14 +5,18 @@ name: apify-factory review (AI review, and auto-approval) # property set to true. on: # Taken from the default branch, never from the pull request, so a pull request cannot rewrite - # its own review pipeline. Pull request code is never checked out or executed. + # its own review pipeline. Pull request code is never checked out or executed. `edited` delivers + # base changes, without which pull requests on another base are not approved. pull_request_target: types: + - opened + - reopened - review_requested - review_request_removed - converted_to_draft - ready_for_review - synchronize + - edited permissions: contents: read @@ -25,8 +29,6 @@ jobs: # Paths never auto-approved here, on top of the pipeline's defaults. Proposed from the # repository's layout when this workflow was added; edit them like any other code. with: - # The draft of the cross-repository references, under evaluation. Back to `main` once it lands. - ai-developer-ref: claude/review-references policy: | { "denyGlobs": [ From 8a218888fb0a29bd86e4717f42d6ec673f569624 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 18 Nov 2026 13:34:44 +0100 Subject: [PATCH 2/2] ci: keep the apify-factory review on the references branch --- .github/workflows/factory_review.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/factory_review.yaml b/.github/workflows/factory_review.yaml index e8da9be3..7e4ee9c1 100644 --- a/.github/workflows/factory_review.yaml +++ b/.github/workflows/factory_review.yaml @@ -29,6 +29,8 @@ jobs: # Paths never auto-approved here, on top of the pipeline's defaults. Proposed from the # repository's layout when this workflow was added; edit them like any other code. with: + # The draft of the cross-repository references, under evaluation. Back to `main` once it lands. + ai-developer-ref: claude/review-references policy: | { "denyGlobs": [