From f7199a9de15e8d16c40ef3ffe7cb90864553f150 Mon Sep 17 00:00:00 2001 From: Emir Date: Tue, 15 Feb 2022 12:37:37 +0100 Subject: [PATCH] change to pull_request_target --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e131cce..a008810 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ on: push: branches: [master, devel] tags: 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - pull_request: + pull_request_target: branches: [master, devel] schedule: - cron: '0 6 1 * *' # once a month in the morning @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + persist-credentials: true - name: Setup Python 3.7 uses: actions/setup-python@v2