Skip to content

Commit 1a6d312

Browse files
hotfix-pr-logic (#531)
Summary: - Checking if fork PR logic fix.
1 parent 4eb5a39 commit 1a6d312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ env:
3535
PLANCACHEENABLED: "false"
3636
CI_IS_EXPRESS: ${{ github.ref_type == 'tag' && contains(github.ref_name, 'express') && 'true' || 'false' }}
3737
STACKQL_IMAGE_NAME: ${{ vars.STACKQL_IMAGE_NAME != '' && vars.STACKQL_IMAGE_NAME || (github.repository == 'stackql/stackql' || github.repository == 'stackql/stackql-devel') && github.repository || 'stackql/stackql' }}
38-
IS_FORK_PR: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'false' || 'true' }}
38+
IS_FORK_PR: ${{ ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name != github.repository)) && 'true' || 'false' }}
3939

4040
jobs:
4141

0 commit comments

Comments
 (0)