From c8bb8a990bc229f6bf6ad68fc6dc9706d828d24f Mon Sep 17 00:00:00 2001 From: Victor Jung <33875047+Victor-Jung@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:55:33 +0200 Subject: [PATCH] OPEN: Port GitLab CI (#1) * Test workflow main.yml --------- Signed-off-by: Victor Jung <33875047+Victor-Jung@users.noreply.github.com> --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a08f52f --- /dev/null +++ b/.github/workflows/main.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.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) + with: + domain: iis-git.ee.ethz.ch + repo: github-mirror/Deeploy + token: ${{ secrets.GITLAB_TOKEN }}