diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 88db491c..d751ea9d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -89,8 +89,8 @@ jobs: - name: "Override DRAFT Flag" if: |- - steps.findPr.outputs.number != '' - && !(env.REPO_OWNER == 'funfair-tech') + steps.findPr.outputs.number == '' + && env.REPO_OWNER != 'funfair-tech' && env.REPO_STATUS == 'private' shell: bash run: echo "CREATE_DRAFT=false" >> "$GITHUB_ENV"