From 5afb5d73c66cb16221ae25c4a1200fbf80233912 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 9 Jul 2025 00:48:53 +0000 Subject: [PATCH 1/2] Update CI workflow to build docs on main branch and tags Co-authored-by: stephenc211 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index faa0639..f9498dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: docs: runs-on: ubuntu-latest needs: [test, eval] - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 From 2ddb0216117a950bc32575cc4381b4436aa9e691 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 9 Jul 2025 01:00:12 +0000 Subject: [PATCH 2/2] Update CI workflow to only build docs on tagged releases Co-authored-by: stephenc211 --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9498dd..9c2804e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI on: push: - branches: [main] tags: - 'v*' pull_request: @@ -92,7 +91,7 @@ jobs: docs: runs-on: ubuntu-latest needs: [test, eval] - if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4