Skip to content

Commit

Permalink
Do not start CI jobs/steps which use secrets ehn repository owner isn…
Browse files Browse the repository at this point in the history
…t Renumics
  • Loading branch information
druzsan committed Oct 20, 2023
1 parent 439e6ae commit d7e1b14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,11 @@ jobs:
fi
- name: '📸 Upload GUI screenshots'
if: |
success()
|| steps.setup-chromedriver.outcome == 'success'
|| steps.setup-geckodriver.outcome == 'success'
(
success()
|| steps.setup-chromedriver.outcome == 'success'
|| steps.setup-geckodriver.outcome == 'success'
) && github.repository_owner == 'Renumics'
uses: LanceMcCarthy/Action-AzureBlobUpload@v2
with:
connection_string: ${{ secrets.AZURE_CONNECTION_STRING }}
Expand Down Expand Up @@ -424,7 +426,7 @@ jobs:
# Release stage
release:
name: '🚀 Release Spotlight'
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Renumics'
needs:
- prepare-python
- prepare-node
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
# Comment
comment-gui-screenshots:
name: '🖍 Comment GUI screenshots'
if: github.repository_owner == 'Renumics'
permissions:
pull-requests: write
runs-on: ubuntu-latest
Expand Down

0 comments on commit d7e1b14

Please sign in to comment.