From 5eaaba8df988df390cc0eb2dbb8bf8a162dcf428 Mon Sep 17 00:00:00 2001 From: Lucas Burigo <281664+burigolucas@users.noreply.github.com> Date: Wed, 27 May 2026 15:06:41 +0200 Subject: [PATCH] ci: fix external pull_request trigger --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1feb15b..664abb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: fi - id: check run: | - if [[ "${{ github.event_name }}" == "pull_request_target" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then + if [[ ("${{ github.event_name }}" == "pull_request_target" || "${{ github.event_name }}" == "pull_request") && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then echo "external=true" >> $GITHUB_OUTPUT else echo "external=false" >> $GITHUB_OUTPUT