From 01688e52165b66962dcd13c78aa27c68fbfb2a8b Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Fri, 2 Aug 2024 20:48:06 +0300 Subject: Use dedicated property to determine if build is called from a fork (#2183) --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd3b1e0e0a..e54eb170af 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,7 +22,7 @@ jobs: # important to ensure it's the empty string when false. If you omit || '', # its value when false is "false", which is interpreted as true. RELEASE_RUN: ${{ (github.event.inputs.release_run || github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life')) && 'Y' || '' }} - FROM_FORK: ${{ github.event.pull_request.head.repo.organization != 'secondlife' }} + FROM_FORK: ${{ github.event.pull_request.head.repo.fork }} steps: - name: Set Variables id: setvar -- cgit v1.2.3