fix(ci): correct conditional

This commit is contained in:
stainless-app[bot] 2025-06-30 02:20:35 +00:00
parent 434c81c826
commit 6c3c0fb2c5

View file

@ -36,14 +36,13 @@ jobs:
run: ./scripts/lint
upload:
if: github.repository == 'stainless-sdks/opencode-python'
if: github.repository == 'stainless-sdks/opencode-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
timeout-minutes: 10
name: upload
permissions:
contents: read
id-token: write
runs-on: depot-ubuntu-24.04
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4