forked from pulp-platform/cheshire
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (23 loc) · 897 Bytes
/
gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2022 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Author: Paul Scheffler <[email protected]>
name: gitlab-ci
on: [ push, pull_request, workflow_dispatch ]
jobs:
check:
runs-on: ubuntu-latest
steps:
-
name: Mirror and check
uses: pulp-platform/pulp-actions/gitlab-ci@v2
# Skip on forks or pull requests from forks due to missing secrets.
if: >
github.repository == 'pulp-platform/cheshire' &&
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
with:
domain: iis-git.ee.ethz.ch
repo: github-mirror/cheshire
token: ${{ secrets.GITLAB_TOKEN }}
poll-count: 10800 # (10800/60=180min=3hours)