From 90346180a3494d50221c4a5a34e8311dd152c7b0 Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Fri, 26 Apr 2024 16:05:27 -0400 Subject: [PATCH] Fix tag limits --- .github/workflows/fork-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml index 9c302bac..96b8cabe 100644 --- a/.github/workflows/fork-sync.yml +++ b/.github/workflows/fork-sync.yml @@ -24,7 +24,7 @@ jobs: if: ${{ !inputs.tags }} run: | fmt='r=%(refname) - echo ${r#refs/tags/}' + git ls-remote --exit-code https://github.com/discretizer/homepage.git %(refname) >/dev/null|| echo ${r#refs/tags/}' echo 'NEW_TAGS<> $GITHUB_OUTPUT EXPR=$(git for-each-ref --format="$fmt" --no-merge main refs/tags) eval "$EXPR" >> $GITHUB_OUTPUT