From 4a19b1e21a36039bbcbdb37c7a22bcba449cbde1 Mon Sep 17 00:00:00 2001 From: Fadi George Date: Fri, 6 Nov 2026 18:16:14 -0800 Subject: [PATCH 1/2] chore: trigger E2E tests from create release PRs workflow Pushes made with GITHUB_TOKEN don't start push-triggered workflows, so e2e.yml never ran for release branches built by this workflow. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/create-release-prs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/create-release-prs.yml b/.github/workflows/create-release-prs.yml index 95f04c2f2..5b713e835 100644 --- a/.github/workflows/create-release-prs.yml +++ b/.github/workflows/create-release-prs.yml @@ -207,6 +207,18 @@ jobs: git commit -m "chore: update Swift package" git push origin $RELEASE_BRANCH + # Pushes made with GITHUB_TOKEN don't trigger push workflows, so start E2E explicitly + run-e2e: + needs: [prep, update-and-build] + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - name: Trigger E2E Tests on release branch + env: + GH_TOKEN: ${{ github.token }} + run: gh workflow run e2e.yml --repo "${{ github.repository }}" --ref "${{ needs.prep.outputs.release_branch }}" + # Step 4: Use reusable workflow to create iOS SDK PR with release notes create-ios-pr: needs: [prep, update-and-build] From 46c5a445f89a03e89c5910555002dfa22f0f41bb Mon Sep 17 00:00:00 2001 From: Fadi George Date: Fri, 6 Nov 2026 18:19:15 -0800 Subject: [PATCH 2/2] chore: run E2E on release PRs instead of dispatching from release workflow Pass GH_PUSH_TOKEN to the shared prep and create-release workflows so the release PR is opened by a user token and pull_request workflows fire. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/create-release-prs.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/create-release-prs.yml b/.github/workflows/create-release-prs.yml index 5b713e835..95f04c2f2 100644 --- a/.github/workflows/create-release-prs.yml +++ b/.github/workflows/create-release-prs.yml @@ -207,18 +207,6 @@ jobs: git commit -m "chore: update Swift package" git push origin $RELEASE_BRANCH - # Pushes made with GITHUB_TOKEN don't trigger push workflows, so start E2E explicitly - run-e2e: - needs: [prep, update-and-build] - runs-on: ubuntu-latest - permissions: - actions: write - steps: - - name: Trigger E2E Tests on release branch - env: - GH_TOKEN: ${{ github.token }} - run: gh workflow run e2e.yml --repo "${{ github.repository }}" --ref "${{ needs.prep.outputs.release_branch }}" - # Step 4: Use reusable workflow to create iOS SDK PR with release notes create-ios-pr: needs: [prep, update-and-build]