From e68c277afe6bf6e7966bfecfe9b228d33f2de44b Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 1 Apr 2021 17:57:25 +0100 Subject: [PATCH] avoid using pull_request_target --- .github/workflows/ci.yml | 2 +- .github/workflows/docs-preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24b8c48..329dc6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - master tags: - '**' - pull_request_target: {} + pull_request: {} jobs: lint: diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index f25e030..b1e1893 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -1,6 +1,6 @@ name: Docs Preview -on: [pull_request_target] +on: [pull_request] jobs: site-deploy: