-
-
Notifications
You must be signed in to change notification settings - Fork 360
ci: Gate size analysis on ready-to-merge label for PRs #5963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,15 @@ env: | |
| RN_SENTRY_POD_NAME: RNSentry | ||
|
|
||
| jobs: | ||
| ready-to-merge-gate: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing
|
||
| name: Ready-to-merge gate | ||
| uses: ./.github/workflows/ready-to-merge-workflow.yml | ||
| with: | ||
| is-pr: ${{ github.event_name == 'pull_request' }} | ||
| labels: ${{ toJson(github.event.pull_request.labels) }} | ||
|
|
||
| android: | ||
| needs: [ready-to-merge-gate] | ||
| name: Android Size Analysis | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
|
|
@@ -81,6 +89,7 @@ jobs: | |
| --build-configuration "Release" | ||
|
|
||
| ios: | ||
| needs: [ready-to-merge-gate] | ||
| name: iOS Size Analysis | ||
| runs-on: ["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:10"] | ||
| timeout-minutes: 45 | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The
size-analysis.ymlworkflow won't trigger when a label is added to a pull request because theon.pull_requesttrigger is missing thelabeledactivity type.Severity: MEDIUM
Suggested Fix
Add
labeledto the list of activity types under theon.pull_requesttrigger in the.github/workflows/size-analysis.ymlfile. This will ensure the workflow is triggered when labels are added to pull requests.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.