Skip to content

Commit b3bc516

Browse files
committed
ci: Remove duplicate internal Gitlab CI runs
1 parent 5bf6754 commit b3bc516

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gitlab-ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
# Some CI tests run on our GitLab servers due to licenses and tools
66
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]
810
jobs:
911
gitlab-ci:
1012
name: Internal Gitlab CI
1113
runs-on: ubuntu-22.04
1214
steps:
1315
- name: Check Gitlab CI
1416
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.
1618
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'
2020
with:
2121
domain: iis-git.ee.ethz.ch
2222
repo: github-mirror/snitch_cluster

0 commit comments

Comments
 (0)