From 99640dde14780e903df0dec6540cd7c1f387364b Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 14 Oct 2024 17:16:51 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/build-and-publish-release.yml --- .github/workflows/build-and-publish-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index c4b90198..0ba0a4d4 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -20,6 +20,9 @@ jobs: runs-on: ubuntu-latest + env: + REPO_STATUS: ${{vars.REPO_VISIBILITY}} + steps: - name: "Initialise Workspace" if: startsWith(runner.name, 'buildagent-') @@ -32,7 +35,8 @@ jobs: fetch-depth: 0 fetch-tags: true - - name: "Check Repo Visibility" + - if: inputs.REPO_STATUS == '' + name: "Check Repo Visibility" uses: credfeto/action-repo-visibility@v1.2.0 id: visibility with: