ci(test): do not run end-to-end tests in PRs from forks (#48)

This commit is contained in:
Gregor Martynus
2023-09-21 16:34:10 -07:00
committed by GitHub
parent 9f83520638
commit 4bb2d37925
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
name: End-to-End
runs-on: ubuntu-latest
# do not run from forks, as forks dont have access to repository secrets
if: github.repository_owner == 'actions'
if: github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3