diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-08-02 20:48:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 20:48:06 +0300 |
commit | 01688e52165b66962dcd13c78aa27c68fbfb2a8b (patch) | |
tree | d9169c1cf29121c8c284ec8e58522e23c9d60888 | |
parent | 73f89548cbb8bf6e40a93113bbaf5a0e951bdb35 (diff) |
Use dedicated property to determine if build is called from a fork (#2183)
-rw-r--r-- | .github/workflows/build.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |