Skip to content

Commit

Permalink
Repo status
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 14, 2024
1 parent e21c953 commit 533b1bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-publish-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:

runs-on: [self-hosted, linux, build]

env:
REPO_STATUS: ${{vars.REPO_VISIBILITY}}

steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
Expand All @@ -41,7 +44,8 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: "Check Repo Visibility"
- if: inputs.REPO_STATUS == ''
name: "Check Repo Visibility"
uses: credfeto/[email protected]
id: visibility
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-and-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

runs-on: [self-hosted, linux, build]

env:
REPO_STATUS: ${{vars.REPO_VISIBILITY}}

steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
Expand All @@ -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/[email protected]
id: visibility
with:
Expand Down

0 comments on commit 533b1bf

Please sign in to comment.