Skip to content

Commit 70a6024

Browse files
authored
Fix docs CI? (#87)
1 parent e16df3b commit 70a6024

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ jobs:
6464
- run: make docs
6565

6666
- run: make docs-insiders
67-
if: github.repository_owner == 'pydantic'
67+
if: github.event.pull_request.head.repo.full_name == github.repository
6868
env:
6969
PPPR_TOKEN: ${{ secrets.PPPR_TOKEN }}
7070

7171
- run: tree site
7272

7373
test-live:
7474
runs-on: ubuntu-latest
75+
if: github.event.pull_request.head.repo.full_name == github.repository
7576
steps:
7677
- uses: actions/checkout@v4
7778

@@ -80,7 +81,6 @@ jobs:
8081
enable-cache: true
8182

8283
- run: uv run --python 3.12 --frozen pytest tests/test_live.py -v --durations=100
83-
if: github.repository_owner == 'pydantic'
8484
env:
8585
PYDANTIC_AI_LIVE_TEST_DANGEROUS: 'CHARGE-ME!'
8686
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@@ -160,6 +160,7 @@ jobs:
160160
uses: re-actors/alls-green@release/v1
161161
with:
162162
jobs: ${{ toJSON(needs) }}
163+
allowed-skips: test-live
163164

164165
release:
165166
needs: [check]

0 commit comments

Comments
 (0)