Skip to content

Commit 1c5db18

Browse files
authored
[ci skip] guard against running build tests on forks
1 parent f44e7b2 commit 1c5db18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
jobs:
1010
build:
1111
if: |
12-
!(github.event_name == 'pull_request' && github.event.pull_request.draft == true) ||
13-
!(github.event_name == 'pull_request' && ${{ contains(github.event.commits[0].message, 'ci skip') }})
12+
!(github.event_name == 'pull_request' && github.event.pull_request.draft == true) &&
13+
!(github.event_name == 'pull_request' && ${{ contains(github.event.commits[0].message, 'ci skip') }}) &&
14+
(github.repository == 'MESAHub/mesa')
1415
strategy:
1516
fail-fast: false
1617
matrix:

0 commit comments

Comments
 (0)