Skip to content

Commit

Permalink
[Dependencies] - Update .github/workflows/pull-request.yml to match t…
Browse files Browse the repository at this point in the history
…he template repo
  • Loading branch information
credfeto committed Oct 9, 2023
1 parent 108e0a6 commit ad269ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
id: visibility
with:
Expand All @@ -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 == ''
Expand Down

0 comments on commit ad269ce

Please sign in to comment.