From d958966a9b874b7155d23de51d48ba9206af0257 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 18 Nov 2026 14:26:51 +0100 Subject: [PATCH] ci: pass only the required secrets to the apify-factory review --- .github/workflows/factory_review.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/factory_review.yaml b/.github/workflows/factory_review.yaml index 1ca80ef2..ae219f25 100644 --- a/.github/workflows/factory_review.yaml +++ b/.github/workflows/factory_review.yaml @@ -21,7 +21,11 @@ permissions: jobs: factory-review: uses: apify/workflows/.github/workflows/factory_review.yaml@main - secrets: inherit + # The three secrets the pipeline declares, instead of every secret this repository can read. + secrets: + APIFY_FACTORY_GITHUB_TOKEN: ${{ secrets.APIFY_FACTORY_GITHUB_TOKEN }} + ANTHROPIC_API_KEY_APIFY_FACTORY_REVIEW: ${{ secrets.ANTHROPIC_API_KEY_APIFY_FACTORY_REVIEW }} + APIFY_FACTORY_CALLBACK_TOKEN: ${{ secrets.APIFY_FACTORY_CALLBACK_TOKEN }} # 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: