From b06d6688569fe96f6fba78c5875a9ce62afedeca Mon Sep 17 00:00:00 2001 From: JoerivanEngelen Date: Mon, 12 Jan 2026 10:37:41 +0100 Subject: [PATCH 1/2] Add sync workflow to Gitlab --- .github/workflows/synch-to-gitlab.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/synch-to-gitlab.yml diff --git a/.github/workflows/synch-to-gitlab.yml b/.github/workflows/synch-to-gitlab.yml new file mode 100644 index 000000000..e09f04266 --- /dev/null +++ b/.github/workflows/synch-to-gitlab.yml @@ -0,0 +1,18 @@ +name: Sync Repository to GitLab + +on: + push + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Sync to GitLab + uses: yesolutions/mirror-action@master + with: + REMOTE: https://open-git.deltares.nl/deltares-github-backups/${{ github.event.repository.name }}.git + GIT_USERNAME: ${{ secrets.GITLAB_USERNAME }} + GIT_PASSWORD: ${{ secrets.GITLAB_PAT }} From 075bab60ed4323cd6ad0c70fbd4aaaa8c0d2acb4 Mon Sep 17 00:00:00 2001 From: JoerivanEngelen Date: Mon, 12 Jan 2026 10:43:39 +0100 Subject: [PATCH 2/2] pin to specific hash --- .github/workflows/synch-to-gitlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/synch-to-gitlab.yml b/.github/workflows/synch-to-gitlab.yml index e09f04266..e706afe64 100644 --- a/.github/workflows/synch-to-gitlab.yml +++ b/.github/workflows/synch-to-gitlab.yml @@ -11,7 +11,7 @@ jobs: with: fetch-depth: 0 - name: Sync to GitLab - uses: yesolutions/mirror-action@master + uses: yesolutions/mirror-action@662fce0eced8996f64d7fa264d76cddd84827f33 with: REMOTE: https://open-git.deltares.nl/deltares-github-backups/${{ github.event.repository.name }}.git GIT_USERNAME: ${{ secrets.GITLAB_USERNAME }}