Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ concurrency:
jobs:
go:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# Every backend test that needs Redis skips without ROUTER_REDIS_ADDR: the service gives
# them one, on a host port the runner picks so a port already held on the runner cannot
# fail the job. The health check holds the steps until it answers PING.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# Every step runs after a failure (`!cancelled()`), so each SDK reports its result.
sdks:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# For the Go SDK, the only Go here: it is installed on its own, with no go.work, by Go as
# old as its go directive, so it is checked that way too. GOTOOLCHAIN=local keeps 1.25
# from switching to a newer toolchain, which would prove nothing about 1.25.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/client-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# macOS runner. A push to main builds them all.
changes:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
outputs:
kotlin: ${{ steps.filter.outputs.kotlin }}
dart: ${{ steps.filter.outputs.dart }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
kotlin:
needs: changes
if: github.event_name == 'push' || needs.changes.outputs.kotlin == 'true'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
defaults:
run:
working-directory: sdks/kotlin
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
dart:
needs: changes
if: github.event_name == 'push' || needs.changes.outputs.dart == 'true'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
integration:
if: github.event.pull_request.draft != true
name: integration (${{ matrix.group }})
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# MEM0_API_KEY lives in this environment, which a pull request's code never enters.
environment: ${{ github.event_name == 'push' && matrix.mem0 && 'integration' || '' }}
timeout-minutes: 40
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
steps:
- uses: actions/labeler@v6
6 changes: 3 additions & 3 deletions .github/workflows/publish-sdk-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
name: Check the version
# Of the pull requests, only a release's: one from a branch named release-kotlin-X.Y.Z.
if: github.event_name == 'push' || github.event_name == 'release' || startsWith(github.head_ref, 'release-kotlin-')
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
permissions:
contents: read
pull-requests: read # the pull request a push to main merged
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
name: Build, sign and stage
needs: version
if: (github.event_name == 'push' || github.event_name == 'release') && needs.version.outputs.channel != 'none'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The signing key is a GetStream organization secret: this environment does not limit it, and any
# workflow in this repository can read it. AI-3372 tracks limiting it to the release jobs.
environment: release
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
upload:
name: Upload to the Stream repository
needs: [ version, publish ]
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The repository endpoint, bucket and credentials are GetStream organization secrets too: this
# environment does not limit them either. AI-3372 tracks limiting them to the release jobs.
environment: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
resolve:
if: github.event.pull_request.draft != true
name: Resolve on Python 3.10–3.14
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
env:
PYTHON_VERSIONS: "3.10 3.11 3.12 3.13 3.14"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
name: Build every package at the release version
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
env:
# A version no release has, so the check never meets a real tag.
TAG: v99.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-sdk-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
check:
name: Check and tag
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
permissions:
contents: write # push the release tag
actions: write # start the publishing run on that tag
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
publish:
name: Publish to pub.dev
if: startsWith(github.ref, 'refs/tags/sdk-dart-v')
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
permissions:
contents: read
id-token: write # pub.dev automated publishing (OIDC)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The NuGet trusted publisher accepts only a token minted in this environment. The job
# `if` above lets only a run from `main` enter it; the environment has no reviewer gate.
environment: registry-publish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-sdk-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:

jobs:
check:
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

consumer:
needs: check
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
env:
GOFLAGS: -mod=mod
GOPROXY: https://proxy.golang.org
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The npm trusted publisher accepts only a token minted in this environment. The job
# `if` above lets only a run from `main` enter it; the environment has no reviewer gate.
environment: registry-publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ concurrency:
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# SDK_PHP_SPLIT_TOKEN is this environment's secret, so no other workflow can read it. The job
# `if` above lets only a run from `main` enter it; the environment has no reviewer gate.
environment: registry-publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ concurrency:
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The registry's trusted publisher accepts only a token minted in this environment. The job
# `if` above lets only a run from `main` enter it; the environment has no reviewer gate.
environment: registry-publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdk-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ concurrency:
jobs:
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The registry's trusted publisher accepts only a token minted in this environment. The job
# `if` above lets only a run from `main` enter it; the environment has no reviewer gate.
environment: registry-publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ concurrency:
jobs:
release:
if: github.event_name == 'release' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
timeout-minutes: 120
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build-core:
name: Build & Test Core SDK
if: startsWith(github.event.release.tag_name, 'v')
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
environment: pypi
# Not gated on `integration`, by decision: a provider outage must not hold back a release, so
# this run can end `failure` after a good publish. Check this job, not the run's conclusion.
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
test-core-index:
name: Verify PIP install works
needs: build-core
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
env:
UV_NO_SOURCES: "1"
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Run linters in one step to reduce checkout & dependencies setup overhead
lint:
name: Lint (ruff + mypy + validate pyproject.toml)
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
permissions:
contents: read
steps:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

test:
name: Test "${{ inputs.marker }}"
runs-on: ubuntu-latest
runs-on: { group: github-public-amd64 }
# The provider keys live in this environment, which only the branches that need them may enter.
environment: ${{ inputs.environment }}
env:
Expand Down
Loading