From 949bae07c929025f2b9d10e60c088c542576cbe1 Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 12 Jan 2024 11:43:46 +0100 Subject: [PATCH] docs: switch to pull_request_target Signed-off-by: gatecat --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 1180da257..9a903fff4 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -5,7 +5,7 @@ on: push: branches: - main # deploy main. If your branch is `master`, you'll have to replace that throughout this file. - pull_request: # This will publish a site preview on every pull request, and also run the build command to test if the site is broken. + pull_request_target: # This will publish a site preview on every pull request, and also run the build command to test if the site is broken. jobs: deploy: