From dd86329bafd9c864ebebe492fe1773d1a4d33359 Mon Sep 17 00:00:00 2001 From: Daniel Mohr Date: Tue, 13 Dec 2022 19:41:41 +0100 Subject: [PATCH] fixed typo --- .github/workflows/github-actions.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/github-actions.yaml b/.github/workflows/github-actions.yaml index 6f7c2f8..70a2afb 100644 --- a/.github/workflows/github-actions.yaml +++ b/.github/workflows/github-actions.yaml @@ -103,4 +103,5 @@ jobs: run: | repopath=$(mktemp -d) git clone --bare --mirror "${{ github.server_url }}/${{ github.repository }}.git" "$repopath" + (cd $repopath && git for-each-ref --format 'delete %(refname)' refs/merge-requests | tee >(git update-ref --stdin)) (cd $repopath && git push --prune --mirror $backup_repo)