aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/mirror.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mirror.yml')
-rw-r--r--.github/workflows/mirror.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
index 2bf5578c..3a949fb8 100644
--- a/.github/workflows/mirror.yml
+++ b/.github/workflows/mirror.yml
@@ -55,8 +55,12 @@ jobs:
git config --global user.email "actions@github.com"
- name: Check out GitHub Repository
+ uses: actions/checkout@v6
+ with:
+ fetch-depth: 0
+
+ - name: Clean up hidden GitHub refs
run: |
- git clone --mirror git@github.com:slskd/slskd
git for-each-ref --format="delete %(refname)" refs/pull refs/original | git update-ref --stdin
- name: Mirror to ${{ matrix.target.name }}