diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dac6e70..8b8ee87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: timeout-minutes: 10 name: lint runs-on: ${{ github.repository == 'stainless-sdks/replicate-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - uses: actions/checkout@v4 @@ -35,7 +36,7 @@ jobs: run: ./scripts/lint upload: - if: github.repository == 'stainless-sdks/replicate-client-python' + if: github.repository == 'stainless-sdks/replicate-client-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) timeout-minutes: 10 name: upload permissions: @@ -62,6 +63,7 @@ jobs: timeout-minutes: 10 name: test runs-on: ${{ github.repository == 'stainless-sdks/replicate-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - uses: actions/checkout@v4 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 36c1986..5b9391e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.0-alpha.7" + ".": "2.0.0-alpha.8" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b1c7f02..1de292c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 2.0.0-alpha.8 (2025-06-30) + +Full Changelog: [v2.0.0-alpha.7...v2.0.0-alpha.8](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) + +### Bug Fixes + +* **ci:** correct conditional ([b21a288](https://github.com/replicate/replicate-python-stainless/commit/b21a288650ed46c6c2a72f5d4ff73ff66f81d371)) + + +### Chores + +* **ci:** only run for pushes and fork pull requests ([33e1f74](https://github.com/replicate/replicate-python-stainless/commit/33e1f74f9c15cbd9102f95045f37061ef9d15504)) + ## 2.0.0-alpha.7 (2025-06-27) Full Changelog: [v2.0.0-alpha.6...v2.0.0-alpha.7](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) diff --git a/pyproject.toml b/pyproject.toml index 9bdee11..d93063d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "replicate" -version = "2.0.0-alpha.7" +version = "2.0.0-alpha.8" description = "The official Python library for the replicate API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/replicate/_version.py b/src/replicate/_version.py index 55abf49..b88a9a3 100644 --- a/src/replicate/_version.py +++ b/src/replicate/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "replicate" -__version__ = "2.0.0-alpha.7" # x-release-please-version +__version__ = "2.0.0-alpha.8" # x-release-please-version