From c57b6792cf1131675f60a837af0191ad0f635e88 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 15 Jun 2024 10:17:53 +0200 Subject: [PATCH] ci: Add new workflow for mirroring repo to Codeberg Signed-off-by: Steffen Vogel --- .github/workflows/mirror.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index 72121c3..99a5bac 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -18,9 +18,13 @@ jobs: with: fetch-depth: 0 - - uses: yesolutions/mirror-action@master + - uses: Wandalen/wretry.action@v3.5.0 with: - REMOTE: git@codeberg.org:${{ github.repository }}.git - GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_SSH_KEY }} - GIT_SSH_NO_VERIFY_HOST: "true" - + action: yesolutions/mirror-action@v0.7.0 + attempt_limit: 5 + attempt_delay: 5000 + with: | + REMOTE: git@codeberg.org:${{ github.repository }}.git + GIT_SSH_PRIVATE_KEY: | + ${{ secrets.CODEBERG_SSH_KEY }} + GIT_SSH_NO_VERIFY_HOST: "true"