From 17544e881cb61ceb0506feb145438ef29c794e3f Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 25 Sep 2025 02:23:14 -0400 Subject: [PATCH] test: Fix tag failures --- test/test-commit-message.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test-commit-message.sh b/test/test-commit-message.sh index 0f108191..49227007 100755 --- a/test/test-commit-message.sh +++ b/test/test-commit-message.sh @@ -165,6 +165,14 @@ then done elif [[ -n "$GITHUB_SHA" ]] then + + # XXX: no idea if this will work, but CI fails when I push a tag... + if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then + echo "skipping because tag" + echo 'SKIP' + exit + fi + # GITHUB_SHA is the HEAD of the branch # GITHUB_REF: The branch or tag ref that triggered the workflow. For example, refs/heads/feature-branch-1. If neither a branch or tag is available for the event type, the variable will not exist. # GITHUB_BASE_REF: Only set for pull request events. The name of the base branch.