From f9e6aa8a041c20cfbcd108b9801e95b78ccc66d6 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 10 Oct 2024 19:55:56 -0400 Subject: [PATCH] Do not sync nightly --- .forgejo/workflows/mirror-repository.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/mirror-repository.yml b/.forgejo/workflows/mirror-repository.yml index 513201da7565..925e106bee67 100644 --- a/.forgejo/workflows/mirror-repository.yml +++ b/.forgejo/workflows/mirror-repository.yml @@ -24,7 +24,7 @@ jobs: token: ${{ secrets.CODE_FORGEJO_TOKEN }} - name: Missing tag detecting run: | - git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > upstream_tags + git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' | grep -v "nightly" > upstream_tags git ls-remote ${{ github.server_url}}/${{ github.repository }} "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > destination_tags cat upstream_tags destination_tags | tr ' ' '\n' | sort | uniq -u > missing_tags echo "Missing tags:"