From 168bbc433a40b2074d2e1d6863f214649afd8e61 Mon Sep 17 00:00:00 2001 From: Keith Roberts Date: Sat, 3 Jan 2026 21:43:22 -0500 Subject: [PATCH 1/2] Fix tag guard: avoid fetching tags --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eb5f0ff..9bcda37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,9 @@ jobs: run: | set -euxo pipefail echo "Default branch: ${DEFAULT_BRANCH}" - git fetch origin "${DEFAULT_BRANCH}" --tags + # Do NOT fetch tags; fetching tags can fail on tag-triggered workflows + # because the runner already has the triggering tag checked out. + git fetch --no-tags origin "${DEFAULT_BRANCH}" git merge-base --is-ancestor "${GITHUB_SHA}" "origin/${DEFAULT_BRANCH}" build_wheels: @@ -141,4 +143,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: upload - skip-existing: true + skip-existing: true \ No newline at end of file From 6784b983e71a1d85179bc10282889cfbf4e05302 Mon Sep 17 00:00:00 2001 From: Keith Roberts Date: Sat, 3 Jan 2026 23:00:29 -0500 Subject: [PATCH 2/2] point to correct workflow --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 19dc757..9a582f0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ :ocean: :cyclone: -[![Tests](https://github.com/CHLNDDEV/oceanmesh/actions/workflows/testing.yml/badge.svg)](https://github.com/CHLNDDEV/oceanmesh/actions/workflows/testing.yml) +[![Tests](https://github.com/CHLNDDEV/oceanmesh/actions/workflows/testing.yml/badge.svg)](https://github.com/CHLNDDEV/oceanmesh/actions/workflows/ci.yml) [![CodeCov](https://codecov.io/gh/CHLNDDEV/oceanmesh/branch/master/graph/badge.svg)](https://codecov.io/gh/CHLNDDEV/oceanmesh)