From be4108f90c1e4273b55d9a3f64660055f7229550 Mon Sep 17 00:00:00 2001 From: Luka Macan Date: Fri, 22 Sep 2023 14:22:34 +0200 Subject: [PATCH] Add gitlab-ci action --- .github/workflows/gitlab-ci-action.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/gitlab-ci-action.yml diff --git a/.github/workflows/gitlab-ci-action.yml b/.github/workflows/gitlab-ci-action.yml new file mode 100644 index 0000000..218d00c --- /dev/null +++ b/.github/workflows/gitlab-ci-action.yml @@ -0,0 +1,16 @@ +name: gitlab-ci + +on: [ push, pull_request, workflow_dispatch ] + +jobs: + gitlab-ci: + runs-on: ubuntu-latest + steps: + - name: Check Gitlab CI + 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/pulp-nnx' && (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/pulp-nnx + token: ${{ secrets.GITLAB_TOKEN }}