From 32f61d981a4b81a6e64df8b2940ded86dd2e04e2 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 22 Oct 2024 18:18:31 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/create-prs-for-stale-branches.yml --- .github/workflows/create-prs-for-stale-branches.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-prs-for-stale-branches.yml b/.github/workflows/create-prs-for-stale-branches.yml index 2a639d71..f56df67b 100644 --- a/.github/workflows/create-prs-for-stale-branches.yml +++ b/.github/workflows/create-prs-for-stale-branches.yml @@ -67,6 +67,7 @@ jobs: BRANCH: ${{matrix.branch}} CREATE_DRAFT: true REPO_STATUS: private + steps: - name: "Initialise Workspace" if: startsWith(runner.name, 'buildagent-') @@ -81,7 +82,8 @@ jobs: ref: main repository: ${{github.repository}} - - name: "Check Repo Visibility" + - if: env.REPO_STATUS == '' + name: "Check Repo Visibility" if: github.repository_owner != 'funfair-tech' uses: credfeto/action-repo-visibility@v1.2.0 id: visibility