From ee70874a7689a9b40c676d0a502a914212afd04b Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 14 Feb 2026 12:40:49 -0500 Subject: [PATCH] ci: only push to crates io when tag is used --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf7f2f5..e18623f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: - master - 'ft*' + tags: + - "v*.*.*" pull_request: branches: - master @@ -53,7 +55,7 @@ jobs: runs-on: ubuntu-latest needs: test environment: master - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout repository uses: actions/checkout@v4