From d8d66eb88a50e8080144a22c2926311c95504583 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 9 Oct 2023 16:38:24 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/pull-request.yml to match the template repo --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ab404158..ed3dc92e 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"