From f3491bed8fd989ad2b3618fef7593412d764a49f Mon Sep 17 00:00:00 2001 From: jakob-fritz <37077134+jakob-fritz@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:44:05 +0200 Subject: [PATCH] Fix syncing ci (#466) * Start gitlab_ci action a minute after main one To make sure, the other is started when the Gitlab-action checks the status * Bumped to new version of github2lab that now allows to rerun a GitHub-Action and triggers a rerun of the Gitlab-CI. It now also properly triggers a enw Gitlab-CI when running a scheduled Github-Workflow --- .github/workflows/gitlab_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gitlab_ci.yml b/.github/workflows/gitlab_ci.yml index 0b99b6377f..bc98ee442f 100644 --- a/.github/workflows/gitlab_ci.yml +++ b/.github/workflows/gitlab_ci.yml @@ -7,7 +7,7 @@ on: pull_request_target: types: [opened, synchronize, reopened, labeled] schedule: - - cron: '1 5 * * 1' + - cron: '2 5 * * 1' jobs: check_permission: @@ -106,7 +106,7 @@ jobs: echo "Merge the two parts of the Merge-Request to test the resulting version" git merge "${{ github.event.pull_request.head.sha }}" - name: Mirror and wait for Gitlab-CI - uses: jakob-fritz/github2lab_action@v0.7 + uses: jakob-fritz/github2lab_action@v0.8 env: MODE: 'all' # Either 'mirror', 'get_status', 'get_artifact', or 'all' GITLAB_TOKEN: ${{ secrets.GITLAB_SECRET }}