Skip to content

Commit eee4ba2

Browse files
committed
Limit GH actions to only run on push or external PR.
1 parent a19e166 commit eee4ba2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
test-service-container-build:
1414
name: Build and Test PowerSync Service
15+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Checkout
@@ -34,6 +35,7 @@ jobs:
3435

3536
run-core-tests:
3637
name: Core Test
38+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
3739
runs-on: ubuntu-latest
3840

3941
steps:

0 commit comments

Comments
 (0)