From 730ab9fe9d194a88099f85362185d4b300085708 Mon Sep 17 00:00:00 2001 From: Ryan Gaus Date: Thu, 4 Jun 2026 14:18:22 -0400 Subject: [PATCH] fix: add environment pypi to ci files --- .github/workflows/build-api.yml | 1 + .github/workflows/build-protocol.yml | 1 + .github/workflows/build-rtc.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index cf29e381..b2331168 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -48,6 +48,7 @@ jobs: name: Publish API release needs: build_wheels runs-on: ubuntu-latest + environment: pypi permissions: id-token: write if: startsWith(github.ref, 'refs/tags/api-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) diff --git a/.github/workflows/build-protocol.yml b/.github/workflows/build-protocol.yml index c82aa4b2..e217dc32 100644 --- a/.github/workflows/build-protocol.yml +++ b/.github/workflows/build-protocol.yml @@ -80,6 +80,7 @@ jobs: name: Publish Protocol release needs: build_wheels runs-on: ubuntu-latest + environment: pypi permissions: id-token: write if: startsWith(github.ref, 'refs/tags/protocol-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) diff --git a/.github/workflows/build-rtc.yml b/.github/workflows/build-rtc.yml index 2cd5bea4..7af81bca 100644 --- a/.github/workflows/build-rtc.yml +++ b/.github/workflows/build-rtc.yml @@ -176,6 +176,7 @@ jobs: name: Publish RTC release needs: [build_wheels, make_sdist, test] runs-on: ubuntu-latest + environment: pypi permissions: id-token: write if: startsWith(github.ref, 'refs/tags/rtc-v') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)