Skip to content

Commit 7f332ae

Browse files
authored
Update actions.yml
1 parent ad1bd63 commit 7f332ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/actions.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on: [push, pull_request]
55
jobs:
66
linux:
77
runs-on: ${{matrix.os}}
8+
# allows CI PR runs only from external repos
9+
# in other cases push event is used to run it
10+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'PDAL/java'
811

912
strategy:
1013
matrix:
@@ -46,6 +49,9 @@ jobs:
4649
4750
macos:
4851
runs-on: ${{matrix.os}}
52+
# allows CI PR runs only from external repos
53+
# in other cases push event is used to run it
54+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'PDAL/java'
4955

5056
strategy:
5157
matrix:

0 commit comments

Comments
 (0)