From bdf4653d78ee39bb4bb7bc3393cdd3a8e6b70694 Mon Sep 17 00:00:00 2001 From: kostobog Date: Tue, 28 Nov 2023 16:12:41 +0100 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9d65bc96..67be03c1 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -28,7 +28,7 @@ jobs: - name: Exit if pull request is from a fork run: | - if [ "${{ github.event_name }}" == "pull_request_target" ] && [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.event.repository.full_name }}" ]; then + if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.event.repository.full_name }}" ]; then echo "Skipping workflow as this pull request is from a fork." exit 78 fi