[ci] Temporarily activate workflow upon PR #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 ETH Zurich and University of Bologna. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
# Some CI tests run on our GitLab servers due to licenses and tools | |
name: gitlab-ci | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
gitlab-ci: | |
name: Internal Gitlab CI | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check Gitlab CI | |
uses: pulp-platform/pulp-actions/[email protected] | |
# Skip on forks or pull requests from forks due to missing secrets. | |
if: | |
# yamllint disable rule:line-length | |
github.repository == 'pulp-platform/snitch_cluster' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) | |
# yamllint enable rule:line-length | |
with: | |
domain: iis-git.ee.ethz.ch | |
repo: github-mirror/snitch_cluster | |
token: ${{ secrets.GITLAB_TOKEN }} | |
poll-period: 20 | |
poll-count: 1000 | |
retry-count: 100 | |
retry-period: 50 |