Skip to content

Commit

Permalink
Fix syncing ci (#466)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jakob-fritz authored Jul 30, 2024
1 parent 2363944 commit f3491be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gitlab_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit f3491be

Please sign in to comment.