Skip to content

Commit f616411

Browse files
fix(ci): correct conditional
1 parent fbf9c05 commit f616411

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

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

3838
upload:
39-
if: github.repository == 'stainless-sdks/openlayer-python'
39+
if: github.repository == 'stainless-sdks/openlayer-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
4040
timeout-minutes: 10
4141
name: upload
4242
permissions:
4343
contents: read
4444
id-token: write
4545
runs-on: depot-ubuntu-24.04
46-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4746
steps:
4847
- uses: actions/checkout@v4
4948

0 commit comments

Comments
 (0)