From 5d6396b8ddc3515a72ce0f7b27b7ecc2505b0762 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 21 Nov 2024 12:17:59 +0100 Subject: [PATCH] CI: Switch back to pull_request_target event Signed-off-by: Knut Ahlers --- .github/workflows/pr-regen-translations.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-regen-translations.yml b/.github/workflows/pr-regen-translations.yml index 60cc045..315c423 100644 --- a/.github/workflows/pr-regen-translations.yml +++ b/.github/workflows/pr-regen-translations.yml @@ -2,7 +2,7 @@ name: pull-request-ci on: - pull_request: + pull_request_target: paths: ["i18n.yaml"] jobs: @@ -25,6 +25,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }} - name: Marking workdir safe