From 6464230627b47225d31442cf3f95d3beb4718d50 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Fri, 27 Feb 2026 22:22:35 -0500 Subject: [PATCH] fix: use pull_request_target for docs workflow to access secrets from fork PRs The update-docs workflow intermittently failed with "Input required and not supplied: token" because pull_request events from fork PRs don't have access to repository secrets. Switching to pull_request_target runs the workflow in the base repo's context, ensuring secrets are always available. This is safe since the workflow only runs on already-merged PRs. --- .github/workflows/update-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 27453e74e..a9066762d 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -1,7 +1,7 @@ name: Update Documentation on PR Merge on: - pull_request: + pull_request_target: types: [closed] branches: [main] paths: