From d66546ebd5329bdfbd8e0d02337a0aba80267ba7 Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Fri, 26 Jun 2026 17:30:13 -0600 Subject: [PATCH 1/4] ci: declare run_all_ui_tests input in reusable-ui-workflow --- .github/workflows/reusable-ui-workflow.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/reusable-ui-workflow.yaml b/.github/workflows/reusable-ui-workflow.yaml index 652dbd2956..486e9a2f97 100644 --- a/.github/workflows/reusable-ui-workflow.yaml +++ b/.github/workflows/reusable-ui-workflow.yaml @@ -4,6 +4,9 @@ on: is_pr: type: boolean default: false + run_all_ui_tests: + type: boolean + default: false secrets: MSDK_ANDROID_REMOTE_ACCESS_CALLBACK_URL: required: true From b1b3dc3fb73cf90c7c53706e1e8a58c7c942cf3d Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Fri, 26 Jun 2026 17:32:47 -0600 Subject: [PATCH 2/4] [Test-only] relax branch filter and Danger guard for fork CI verification --- .github/DangerFiles/TestOrchestrator.rb | 2 +- .github/workflows/pr.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/DangerFiles/TestOrchestrator.rb b/.github/DangerFiles/TestOrchestrator.rb index 548b1e3cbb..2804e55ac0 100644 --- a/.github/DangerFiles/TestOrchestrator.rb +++ b/.github/DangerFiles/TestOrchestrator.rb @@ -4,7 +4,7 @@ warn("Big PR, try to keep changes smaller if you can.", sticky: true) if git.lines_of_code > 1000 # Redirect contributors to PR to dev. -fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if github.branch_for_base != "dev" +fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if !["dev", "fix-reusable-ui-workflow-missing-input"].include?(github.branch_for_base) # List of Android libraries for testing LIBS = ['SalesforceAnalytics', 'SalesforceSDK', 'SmartStore', 'MobileSync', 'SalesforceHybrid'] diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index acc872ad8d..f777f7ad9d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -5,7 +5,7 @@ on: # Mitigated by per-job Member Check (see "Check Write Permission" + "Validate Write Permission" steps). # Reference: team Github Actions Tribal Knowledge doc. pull_request_target: # zizmor: ignore[dangerous-triggers] - branches: [dev, master] + branches: [dev, master, fix-reusable-ui-workflow-missing-input] paths-ignore: - '**/*.md' - 'LICENSE' From dc087cf5568d2bcb32bf2977685ae194d573da1f Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Fri, 26 Jun 2026 17:35:07 -0600 Subject: [PATCH 3/4] Revert "[Test-only] relax branch filter and Danger guard for fork CI verification" This reverts commit b1b3dc3fb73cf90c7c53706e1e8a58c7c942cf3d. --- .github/DangerFiles/TestOrchestrator.rb | 2 +- .github/workflows/pr.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/DangerFiles/TestOrchestrator.rb b/.github/DangerFiles/TestOrchestrator.rb index 2804e55ac0..548b1e3cbb 100644 --- a/.github/DangerFiles/TestOrchestrator.rb +++ b/.github/DangerFiles/TestOrchestrator.rb @@ -4,7 +4,7 @@ warn("Big PR, try to keep changes smaller if you can.", sticky: true) if git.lines_of_code > 1000 # Redirect contributors to PR to dev. -fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if !["dev", "fix-reusable-ui-workflow-missing-input"].include?(github.branch_for_base) +fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if github.branch_for_base != "dev" # List of Android libraries for testing LIBS = ['SalesforceAnalytics', 'SalesforceSDK', 'SmartStore', 'MobileSync', 'SalesforceHybrid'] diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f777f7ad9d..acc872ad8d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -5,7 +5,7 @@ on: # Mitigated by per-job Member Check (see "Check Write Permission" + "Validate Write Permission" steps). # Reference: team Github Actions Tribal Knowledge doc. pull_request_target: # zizmor: ignore[dangerous-triggers] - branches: [dev, master, fix-reusable-ui-workflow-missing-input] + branches: [dev, master] paths-ignore: - '**/*.md' - 'LICENSE' From 197174c42507149f7abaa649bdec7ecd6d6276ce Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Fri, 26 Jun 2026 17:35:36 -0600 Subject: [PATCH 4/4] ci: declare run_all_ui_tests in test-orchestrator job outputs --- .github/workflows/pr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index acc872ad8d..7aef81acae 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -25,6 +25,7 @@ jobs: BUNDLE_GEMFILE: ${{ github.workspace }}/.github/DangerFiles/Gemfile outputs: libs: ${{ steps.test-orchestrator.outputs.libs }} + run_all_ui_tests: ${{ steps.test-orchestrator.outputs.run_all_ui_tests }} steps: - name: Check Write Permission uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # v2.4.0