mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-04-28 12:39:54 +00:00
fix(ci): correct conditional
This commit is contained in:
parent
434c81c826
commit
6c3c0fb2c5
1 changed files with 1 additions and 2 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -36,14 +36,13 @@ jobs:
|
||||||
run: ./scripts/lint
|
run: ./scripts/lint
|
||||||
|
|
||||||
upload:
|
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
|
timeout-minutes: 10
|
||||||
name: upload
|
name: upload
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
id-token: write
|
||||||
runs-on: depot-ubuntu-24.04
|
runs-on: depot-ubuntu-24.04
|
||||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue