diff --git a/.github/workflows/apexE2E.yml b/.github/workflows/apexE2E.yml index fa07219709..b1a4498a78 100644 --- a/.github/workflows/apexE2E.yml +++ b/.github/workflows/apexE2E.yml @@ -72,41 +72,41 @@ on: jobs: apexLSP: - if: ${{ inputs.apexLsp }} + if: ${{ github.event.inputs.apexLsp || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'apexLsp.e2e.ts' apexReplayDebugger: - if: ${{ inputs.apexReplayDebugger }} + if: ${{ github.event.inputs.apexReplayDebugger || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'apexReplayDebugger.e2e.ts' debugApexTests: - if: ${{ inputs.debugApexTests }} + if: ${{ github.event.inputs.debugApexTests || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'debugApexTests.e2e.ts' runApexTests: - if: ${{ inputs.runApexTests }} + if: ${{ github.event.inputs.runApexTests || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'runApexTests.e2e.ts' trailApexReplayDebugger: - if: ${{ inputs.trailApexReplayDebugger }} + if: ${{ github.event.inputs.trailApexReplayDebugger || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'trailApexReplayDebugger.e2e.ts' diff --git a/.github/workflows/coreE2E.yml b/.github/workflows/coreE2E.yml index 953a6722c4..713558ea9b 100644 --- a/.github/workflows/coreE2E.yml +++ b/.github/workflows/coreE2E.yml @@ -92,57 +92,57 @@ on: jobs: anInitialSuite: - if: ${{ inputs.anInitialSuite }} + if: ${{ github.event.inputs.anInitialSuite || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'anInitialSuite.e2e.ts' authentication: - if: ${{ inputs.authentication }} + if: ${{ github.event.inputs.authentication || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'authentication.e2e.ts' deployAndRetrieve: - if: ${{ inputs.deployAndRetrieve }} + if: ${{ github.event.inputs.deployAndRetrieve || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'deployAndRetrieve.e2e.ts' manifestBuilder: - if: ${{ inputs.manifestBuilder }} + if: ${{ github.event.inputs.manifestBuilder || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'manifestBuilder.e2e.ts' pushAndPull: - if: ${{ inputs.pushAndPull }} + if: ${{ github.event.inputs.pushAndPull || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'pushAndPull.e2e.ts' sObjectsDefinitions: - if: ${{ inputs.sObjectsDefinitions }} + if: ${{ github.event.inputs.sObjectsDefinitions || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'sObjectsDefinitions.e2e.ts' templates: - if: ${{ inputs.templates }} + if: ${{ github.event.inputs.templates || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'templates.e2e.ts' \ No newline at end of file diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index cb43c3548e..8da69db7f8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -26,22 +26,22 @@ on: jobs: Apex_E2E_tests: - if: ${{ inputs.apexE2ETests }} + if: ${{ github.event.inputs.apexE2ETests }} uses: ./.github/workflows/apexE2E.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} Core_E2E_tests: - if: ${{ inputs.coreE2ETests }} + if: ${{ github.event.inputs.coreE2ETests }} uses: ./.github/workflows/coreE2E.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} LSP_E2E_tests: - if: ${{ inputs.lspE2ETests }} + if: ${{ github.event.inputs.lspE2ETests }} uses: ./.github/workflows/lspE2E.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} diff --git a/.github/workflows/lspE2E.yml b/.github/workflows/lspE2E.yml index e472a448a4..a1bcdffd93 100644 --- a/.github/workflows/lspE2E.yml +++ b/.github/workflows/lspE2E.yml @@ -42,17 +42,17 @@ on: jobs: auraLSP: - if: ${{ inputs.auraLsp }} + if: ${{ github.event.inputs.auraLsp || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'auraLsp.e2e.ts' visualforceLSP: - if: ${{ inputs.visualforceLsp }} + if: ${{ github.event.inputs.visualforceLsp || github.event_name == 'schedule' }} uses: ./.github/workflows/runE2ETest.yml secrets: inherit with: - automationBranch: ${{ inputs.automationBranch }} + automationBranch: ${{ github.event.inputs.automationBranch }} testToRun: 'visualforceLsp.e2e.ts'