Skip to content

Commit

Permalink
chore: get right id from workflow_run (#5190)
Browse files Browse the repository at this point in the history
* chore: get right id from workflow_run

* chore: specify the run needs to be completed

* chore: get right id from workflow_run in apex and core e2e tests
  • Loading branch information
CristiCanizales authored Oct 31, 2023
1 parent 9296cde commit 690e1aa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
workflow_run:
workflows:
- Nightly Build Develop
- Test, Build, and Release
types:
- completed
workflow_dispatch:
inputs:
automationBranch:
Expand Down Expand Up @@ -37,20 +40,20 @@ jobs:
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || 'develop' }}
runId: ${{ inputs.runId || github.event.workflow_run.run_number }}
runId: ${{ inputs.runId || github.event.workflow_run.id }}

Core_E2E_tests:
if: ${{ inputs.coreE2ETests || github.event_name == 'workflow_run' }}
uses: ./.github/workflows/coreE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || 'develop' }}
runId: ${{ inputs.runId || github.event.workflow_run.run_number }}
runId: ${{ inputs.runId || github.event.workflow_run.id }}

LSP_E2E_tests:
if: ${{ inputs.lspE2ETests || github.event_name == 'workflow_run' }}
uses: ./.github/workflows/lspE2E.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch || 'develop' }}
runId: ${{ inputs.runId || github.event.workflow_run.run_number }}
runId: ${{ inputs.runId || github.event.workflow_run.id }}

0 comments on commit 690e1aa

Please sign in to comment.