Skip to content

Commit 4bb2d37

Browse files
authored
ci(test): do not run end-to-end tests in PRs from forks (actions#48)
1 parent 9f83520 commit 4bb2d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: End-to-End
2727
runs-on: ubuntu-latest
2828
# do not run from forks, as forks don’t have access to repository secrets
29-
if: github.repository_owner == 'actions'
29+
if: github.event.pull_request.head.repo.owner.login == github.event.pull_request.base.repo.owner.login
3030
steps:
3131
- uses: actions/checkout@v3
3232
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)