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