-
Notifications
You must be signed in to change notification settings - Fork 421
Skip approve-full-tests hold for automatic bot PRs #6255
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
6fbfe51
21bbbeb
de40c4c
1401ef4
4d78abd
f6a32b2
894f27e
6939ea7
28cde3a
6858b85
e80128d
e65a633
fcb9287
faee21d
ecb1011
6e17223
b93e326
364d0a1
c9d33c4
f5fba49
ddd67f3
8064742
c214ce9
ee3dec0
d75486a
ea313f7
c1b27a5
9f5c0bf
8cff0e0
3cd2771
d647423
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 |
|---|---|---|
|
|
@@ -2097,6 +2097,11 @@ workflows: | |
| pattern: "^(main|release/.*)$" | ||
| value: << pipeline.git.branch >> | ||
| - equal: [run-manual-tests, << pipeline.parameters.action >>] | ||
| # Exclude automatic bot branches (they use run-all-tests-auto instead) | ||
| - not: | ||
| matches: | ||
| pattern: "^(dependabot/.*|bump/.*|generated_snapshots/.*)$" | ||
| value: << pipeline.git.branch >> | ||
| jobs: | ||
| # ============================================================= | ||
| # Reduced Test Suite: Auto-run on every push | ||
|
|
@@ -2295,6 +2300,197 @@ workflows: | |
| - run-all-maestro-e2e-tests | ||
| - docs-build | ||
|
|
||
| # ============================================================= | ||
| # Automatic bot PRs: same jobs as run-all-tests but without | ||
| # the approve-full-tests manual approval gate. | ||
| # Matches branches from dependabot, RCGitBot version bumps, | ||
| # and RCGitBot generated snapshot PRs. | ||
| # ============================================================= | ||
| run-all-tests-auto: | ||
| when: | ||
| and: | ||
| - not: | ||
| equal: [scheduled_pipeline, << pipeline.trigger_source >>] | ||
| - not: | ||
| equal: ["release-train", << pipeline.schedule.name >>] | ||
| - not: | ||
| equal: [bump, << pipeline.parameters.action >>] | ||
| - not: << pipeline.parameters.generate_snapshots >> | ||
| - not: << pipeline.parameters.generate_revenuecatui_snapshots >> | ||
| - not: << pipeline.parameters.generate_swiftinterface >> | ||
| - not: | ||
| matches: | ||
| pattern: "^(main|release/.*)$" | ||
| value: << pipeline.git.branch >> | ||
| - matches: | ||
| pattern: "^(dependabot/.*|bump/.*|generated_snapshots/.*)$" | ||
| value: << pipeline.git.branch >> | ||
| jobs: | ||
| # ============================================================= | ||
| # Reduced Test Suite (same as run-all-tests) | ||
| # ============================================================= | ||
| - lint | ||
| - check-api-changes: | ||
| context: | ||
| - slack-secrets-ios | ||
| - validate-package-swift: | ||
| name: validate-package-swift-5.8 | ||
| xcode_version: "14.3.1" | ||
| mac_os_executor_name: macos-executor | ||
| - run-test-ios-26 | ||
| - pod-lib-lint | ||
| - run-revenuecat-ui-ios-26 | ||
| - emerge_purchases_ui_snapshot_tests | ||
| - emerge_binary_size_analysis | ||
|
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 context for reduced test suite jobsMedium Severity In |
||
| - build-tv-watch-mac-and-visionos: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # ============================================================= | ||
| # Full Test Suite (runs automatically, no approval gate) | ||
| # ============================================================= | ||
|
|
||
| # Backend Integration Tests | ||
| - backend-integration-tests-SK1: | ||
| context: | ||
| - slack-secrets | ||
| - backend-integration-tests-SK2: | ||
| context: | ||
| - slack-secrets | ||
| - backend-integration-tests-custom-entitlements: | ||
| context: | ||
| - slack-secrets | ||
| - backend-integration-tests-other: | ||
| context: | ||
| - slack-secrets | ||
| - backend-integration-tests-offline: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # Older iOS Version Tests | ||
| - run-test-ios-18: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-ios-14: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-ios-15: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-ios-16: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-ios-17: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # Platform Runtime Tests | ||
| - run-test-macos: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-tvos: | ||
| context: | ||
| - slack-secrets | ||
| - run-test-watchos: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # RevenueCatUI Tests | ||
| - run-revenuecat-ui-ios-18 | ||
| - spm-revenuecat-ui-ios-15: | ||
| context: | ||
| - slack-secrets | ||
| - spm-revenuecat-ui-ios-16: | ||
| context: | ||
| - slack-secrets | ||
| - run-revenuecat-ui-ios-17: | ||
| context: | ||
| - slack-secrets | ||
| - spm-revenuecat-ui-watchos: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # Installation Tests | ||
| - installation-tests-all-but-carthage: | ||
| context: | ||
| - slack-secrets | ||
| - installation-tests-carthage: | ||
| context: | ||
| - slack-secrets | ||
|
|
||
| # SPM / Other Build Tests | ||
| - spm-release-build: | ||
| context: | ||
| - slack-secrets | ||
| - spm-release-build-xcode-14: | ||
| context: | ||
| - slack-secrets | ||
| - spm-release-build-xcode-15: | ||
| context: | ||
| - slack-secrets | ||
| - api-tests: | ||
| context: | ||
| - slack-secrets | ||
| - spm-receipt-parser: | ||
| context: | ||
| - slack-secrets | ||
| - deploy-purchase-tester: | ||
| dry_run: true | ||
| context: | ||
| - slack-secrets | ||
| - run-all-maestro-e2e-tests: | ||
| context: | ||
| - e2e-tests | ||
| - slack-secrets | ||
| - docs-build: | ||
| context: | ||
|
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. Workflow references many nonexistent job definitionsHigh Severity The Additional Locations (2) |
||
| - slack-secrets | ||
|
|
||
|
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
|
||
| # ============================================================= | ||
| # Summary gate: blocks merge until all jobs pass | ||
| # ============================================================= | ||
| - all-tasks-passed: | ||
| requires: | ||
| # Reduced Test Suite | ||
| - lint | ||
| - check-api-changes | ||
| - validate-package-swift-5.8 | ||
| - run-test-ios-26 | ||
| - pod-lib-lint | ||
| - run-revenuecat-ui-ios-26 | ||
| - emerge_purchases_ui_snapshot_tests | ||
| - emerge_binary_size_analysis | ||
| - build-tv-watch-mac-and-visionos | ||
| # Full Test Suite | ||
| - backend-integration-tests-SK1 | ||
| - backend-integration-tests-SK2 | ||
| - backend-integration-tests-custom-entitlements | ||
| - backend-integration-tests-other | ||
| - backend-integration-tests-offline | ||
| - run-test-ios-18 | ||
| - run-test-ios-14 | ||
| - run-test-ios-15 | ||
| - run-test-ios-16 | ||
| - run-test-ios-17 | ||
| - run-test-macos | ||
| - run-test-tvos | ||
| - run-test-watchos | ||
| - spm-revenuecat-ui-ios-15 | ||
| - spm-revenuecat-ui-ios-16 | ||
| - run-revenuecat-ui-ios-17 | ||
| - run-revenuecat-ui-ios-18 | ||
| - spm-revenuecat-ui-watchos | ||
| - installation-tests-all-but-carthage | ||
| - installation-tests-carthage | ||
| - spm-release-build | ||
| - spm-release-build-xcode-14 | ||
| - spm-release-build-xcode-15 | ||
| - api-tests | ||
| - spm-receipt-parser | ||
| - deploy-purchase-tester | ||
| - run-all-maestro-e2e-tests | ||
| - docs-build | ||
|
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. Duplicated workflow risks future test suite divergenceLow Severity The Additional Locations (1) |
||
|
|
||
| deploy-tag: | ||
| when: | ||
| not: | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.