Skip to content

Commit 86056ec

Browse files
committed
only run gitlab ci for external PRs
Signed-off-by: Howard Pritchard <[email protected]>
1 parent 9bf6d10 commit 86056ec

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ build:intel:
5353
- examples
5454
- install_test
5555
expire_in: 1 week
56+
only:
57+
- external_pull_requests
5658

5759
build:gnu:
5860
stage: build
@@ -74,6 +76,8 @@ build:gnu:
7476
- examples
7577
- install_test
7678
expire_in: 1 week
79+
only:
80+
- external_pull_requests
7781

7882
test:intel:
7983
stage: test
@@ -101,6 +105,8 @@ test:intel:
101105
artifacts:
102106
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
103107
expire_in: 1 week
108+
only:
109+
- external_pull_requests
104110

105111
test:gnu:
106112
stage: test
@@ -128,4 +134,5 @@ test:gnu:
128134
artifacts:
129135
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
130136
expire_in: 1 week
131-
137+
only:
138+
- external_pull_requests

0 commit comments

Comments
 (0)