Skip to content

Commit 6c98311

Browse files
antonisclaude
andcommitted
ci: Gate size analysis on ready-to-merge label for PRs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cac4a4f commit 6c98311

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/size-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ env:
2626
RN_SENTRY_POD_NAME: RNSentry
2727

2828
jobs:
29+
ready-to-merge-gate:
30+
name: Ready-to-merge gate
31+
uses: ./.github/workflows/ready-to-merge-workflow.yml
32+
with:
33+
is-pr: ${{ github.event_name == 'pull_request' }}
34+
labels: ${{ toJson(github.event.pull_request.labels) }}
35+
2936
android:
37+
needs: [ready-to-merge-gate]
3038
name: Android Size Analysis
3139
runs-on: ubuntu-latest
3240
timeout-minutes: 30
@@ -81,6 +89,7 @@ jobs:
8189
--build-configuration "Release"
8290
8391
ios:
92+
needs: [ready-to-merge-gate]
8493
name: iOS Size Analysis
8594
runs-on: ["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:10"]
8695
timeout-minutes: 45

0 commit comments

Comments
 (0)