From 4358fbc686d8050860f2fb140716edc0bb403c64 Mon Sep 17 00:00:00 2001 From: Serge Koudoro Date: Mon, 11 Sep 2023 12:41:03 -0400 Subject: [PATCH] use pull request target --- .github/workflows/pr-close.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index facf48be..d8833f18 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -1,6 +1,6 @@ name: delete preview on PR close on: - pull_request: + pull_request_target: types: [closed] jobs: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a72e9c64..aa33273d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,7 @@ on: push: branches: - master - pull_request: + pull_request_target: branches: - master schedule: