Skip to content

Commit 18e625a

Browse files
fix(ci): correct conditional
1 parent a385cb9 commit 18e625a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ jobs:
3333
run: ./scripts/lint
3434

3535
upload:
36-
if: github.repository == 'stainless-sdks/anthropic-python'
36+
if: github.repository == 'stainless-sdks/anthropic-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
3737
timeout-minutes: 10
3838
name: upload
3939
permissions:
4040
contents: read
4141
id-token: write
4242
runs-on: depot-ubuntu-24.04
43-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4443
steps:
4544
- uses: actions/checkout@v4
4645

0 commit comments

Comments
 (0)