aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-11-27 11:43:08 -0600
committerJP Dillingham <jp@dillingham.me>2025-11-27 11:43:08 -0600
commit5ccb3d1350f466b6c3f8ff00791cc56dafd3a4c5 (patch)
tree640ab17e3e7afae1b042d58e3853b31e5e139e2d /.github/workflows
parentc6e374fe2c192dfea167eb81994f745f8f2177c9 (diff)
downloadslskd-5ccb3d1350f466b6c3f8ff00791cc56dafd3a4c5.tar.gz
mirror
Diffstat (limited to '.github/workflows')
-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 }}