From 843d5b0f064c8be33031e13e482e73077730a767 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 9 Oct 2023 18:21:23 +0000 Subject: [PATCH] [Dependencies] - Update .github/workflows/pull-request.yml to match the template repo --- .github/workflows/pull-request.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ed3dc92e..2b4c2b9b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -80,7 +80,7 @@ jobs: run: echo "COMMIT_MSG=$(git log -1 --pretty=%B)" >> "$GITHUB_ENV" - name: "Check Repo Visibility" - if: steps.findPr.outputs.number != '' + if: steps.findPr.outputs.number == '' uses: credfeto/action-repo-visibility@v1.2.0 id: visibility with: @@ -101,7 +101,9 @@ jobs: echo "Repo: ${{env.REPO}}" echo "Owner: ${{env.REPO_OWNER}}" echo "Repo Status: ${{env.REPO_STATUS}}" - echo "Draft: ${{env.CREATE_DRAFT}}" + echo "PR OK: ${{steps.findPr.outputs.number == ''}}" + echo "Owner OK: ${{env.REPO_OWNER != 'funfair-tech'}}" + echo "Status OK: ${{env.REPO_STATUS == 'private'}}" - name: "Create Pull Request" if: steps.findPr.outputs.number == ''