From 744949c5140c1ee487442632bd43b470d50c0a74 Mon Sep 17 00:00:00 2001 From: Christopher Brady Date: Tue, 16 Jun 2026 09:47:53 -0600 Subject: [PATCH] do not publish on all tags --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 063ccfc..65f57c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,10 @@ name: ci on: push: branches: [main] - tags: ['*'] + # Only semver tags (e.g. 1.4.5) trigger CI/publish — non-version tags such as + # `fern-generation-base--fernapi--fern-ruby-sdk` must NOT fire the publish job, + # otherwise they race the real version tag and re-push the same gem version. + tags: ['[0-9]+.[0-9]+.[0-9]+'] pull_request: concurrency: group: ${{ github.workflow }}-${{ github.ref }}