From ed82724cdd3aa2ea0261d7c556890be502b1236f Mon Sep 17 00:00:00 2001 From: Daniel Norman <1992255+2color@users.noreply.github.com> Date: Thu, 6 Mar 2025 13:42:35 +0100 Subject: [PATCH] ci: run workflow with secrets for forks too (#711) Co-authored-by: Daniel N <2color@users.noreply.github.com> --- .github/workflows/build-and-deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index f3551370..9ad3d6d6 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -9,6 +9,10 @@ on: branches: - main pull_request: + # 👇 is needed to run on PRs from forks with access to secrets. + # ⚠️ Should only be used with the repo configured to require workflow approval for all external contributors + pull_request_target: + jobs: build-and-deploy: