File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
name : gitlab-ci
7
7
# Skip on pull requests as forks don't have required secrets,
8
8
# and pull requests from own repo already trigger a push event.
9
- on : [push, workflow_dispatch ]
9
+ on : [push, pull_request ]
10
10
jobs :
11
11
gitlab-ci :
12
12
name : Internal Gitlab CI
13
13
runs-on : ubuntu-22.04
14
14
steps :
15
15
- name : Check Gitlab CI
16
- uses : pulp-platform/pulp-actions/gitlab-ci@v2.1.0
16
+ uses : pulp-platform/pulp-actions/gitlab-ci@v2.4.1
17
17
# Skip on forks due to missing secrets.
18
18
if : >
19
- github.repository == 'pulp-platform/snitch_cluster'
19
+ github.repository == 'pulp-platform/snitch_cluster' &&
20
+ (github.event_name != 'pull_request' ||
21
+ github.event.pull_request.head.repo.full_name != github.repository)
20
22
with :
21
23
domain : iis-git.ee.ethz.ch
22
24
repo : github-mirror/snitch_cluster
You can’t perform that action at this time.
0 commit comments