Skip to content

Commit 8f4270b

Browse files
authored
fix: skip integration tests for PRs from forks (#23)
1 parent d4f31cd commit 8f4270b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818

1919
jobs:
2020
integration-tests:
21+
# Skip integration tests for PRs from forks (they don't have access to secrets)
22+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
2123
runs-on: ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
2224
permissions:
2325
contents: read

0 commit comments

Comments
 (0)