Skip to content

Commit eea224c

Browse files
committed
Fix running integration tests on PRs from the main repo some more
1 parent afdb3f3 commit eea224c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run_checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
# If the PR comes from the main repo, run integration tests directly
2121
integration_tests:
22-
if: github.event.pull_request.base.repo.owner.login == 'apify'
22+
if: github.event.pull_request.head.repo.owner.login == 'apify'
2323
name: Run integration tests
2424
needs: [lint_and_type_checks, unit_tests]
2525
uses: ./.github/workflows/integration_tests.yaml
@@ -32,7 +32,7 @@ jobs:
3232
# because jobs calling reusable workflows can't use an environment.
3333
# The first job is a dummy job that just asks for approval to use the `fork-worklows` environment.
3434
integration_tests_fork_approve:
35-
if: github.event.pull_request.base.repo.owner.login != 'apify'
35+
if: github.event.pull_request.head.repo.owner.login != 'apify'
3636
name: Approve integration tests from fork
3737
needs: [lint_and_type_checks, unit_tests]
3838
environment: fork-pr-integration-tests

0 commit comments

Comments
 (0)