Skip to content

Commit

Permalink
Only use secrets if on Renumics/spotlight
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Oct 23, 2023
1 parent bd7c5a4 commit 33e2878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ jobs:
&& github.repository == 'Renumics/spotlight'
) || (
github.event_name == 'pull_request'
&& github.event.pull_request.head.repo.full_name == github.repository
&& github.event.pull_request.head.repo.full_name == 'Renumics/spotlight'
)
)
uses: LanceMcCarthy/Action-AzureBlobUpload@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
# Comment
comment-gui-screenshots:
name: '🖍 Comment GUI screenshots'
if: github.event.pull_request.head.repo.full_name == github.repository
if: github.event.pull_request.head.repo.full_name == 'Renumics/spotlight'
permissions:
pull-requests: write
runs-on: ubuntu-latest
Expand Down

0 comments on commit 33e2878

Please sign in to comment.