From 0a2d762def73f82a52571b6d97dd585e8b16e568 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Wed, 14 Oct 2026 23:17:31 +0200 Subject: [PATCH 1/2] ci: add the apify-factory review workflow --- .github/workflows/factory_review.yaml | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/factory_review.yaml diff --git a/.github/workflows/factory_review.yaml b/.github/workflows/factory_review.yaml new file mode 100644 index 00000000..00c63d86 --- /dev/null +++ b/.github/workflows/factory_review.yaml @@ -0,0 +1,33 @@ +name: apify-factory review (AI review, and auto-approval) + +# Calls the review and auto-approval pipeline in apify/ai-developer. Approvals additionally need the +# repository's `factory_auto_approve` custom 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. + pull_request_target: + types: + - review_requested + - review_request_removed + - converted_to_draft + - ready_for_review + - synchronize + +permissions: + contents: read + pull-requests: write + +jobs: + factory-review: + uses: apify/ai-developer/.github/workflows/_factory_review.yaml@main + secrets: inherit + # 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: + policy: | + { + "denyGlobs": [ + "impit-node/index.js", + "impit-node/index.d.ts" + ] + } From 2c96d45ff51f7c51b6ee35871da18d653eeac8c9 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Wed, 14 Oct 2026 23:17:33 +0200 Subject: [PATCH 2/2] ci: make mtrunkat code owner of the review workflow --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..0e2ef24d --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +/.github/workflows/factory_review.yaml @mtrunkat