@@ -27,13 +27,13 @@ inputs:
2727outputs :
2828 workflow-id :
2929 description : ' ID of the triggered downstream workflow run'
30- value : ${{ steps.eco_ci .outputs.workflow_id }}
30+ value : ${{ steps.dispatch .outputs.run_id }}
3131 workflow-url :
3232 description : ' URL of the triggered downstream workflow run'
33- value : ${{ steps.eco_ci .outputs.workflow_url }}
33+ value : ${{ steps.dispatch .outputs.run_url }}
3434 conclusion :
3535 description : ' Conclusion reported by the downstream workflow'
36- value : ${{ steps.eco_ci.outputs.conclusion }}
36+ value : ${{ steps.eco_ci.outcome }}
3737 summary :
3838 description : ' Formatted markdown summary of downstream job results'
3939 value : ${{ steps.eco-ci-result.outputs.summary }}
@@ -44,25 +44,37 @@ outputs:
4444runs :
4545 using : composite
4646 steps :
47- - name : Run Ecosystem CI with notify
47+ - name : Dispatch Ecosystem CI
48+ id : dispatch
49+ continue-on-error : true
50+ uses : Codex-/return-dispatch@16fa9d14771c4d56ae0196bbda1d3c17f7f3650f # v3.0.2
51+ with :
52+ token : ${{ inputs.github-token }}
53+ ref : ' main'
54+ owner : rstackjs
55+ repo : rstack-ecosystem-ci
56+ workflow : ${{ inputs.workflow-file }}
57+ workflow_inputs : ${{ inputs.client-payload }}
58+
59+ - name : Await Ecosystem CI
4860 id : eco_ci
4961 continue-on-error : true
50- uses : convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5
62+ uses : Codex-/await-remote-run@2512346665df8818ec7ad6aca3cdceb7626cd384 # v2.0.0
5163 with :
64+ token : ${{ inputs.github-token }}
5265 owner : rstackjs
5366 repo : rstack-ecosystem-ci
54- workflow_file_name : ${{ inputs.workflow-file }}
55- github_token : ${{ inputs.github-token }}
56- ref : ' main'
57- client_payload : ${{ inputs.client-payload }}
67+ run_id : ${{ steps.dispatch.outputs.run_id }}
68+ run_timeout_seconds : 10800
69+ poll_interval_ms : 30000
5870
5971 - name : Get CI Result
6072 id : eco-ci-result
6173 uses : rstackjs/rstack-ecosystem-ci/.github/actions/ecosystem-ci-result@3cbb84659edaf3713e10831715d39de0d5c02df7 # main
6274 with :
6375 job-prefix : ${{ inputs.job-name-prefix }}
6476 heading : ${{ inputs.ecosystem-repo }}
65- workflow-output : ${{ toJson( steps.eco_ci .outputs) }}
77+ workflow-output : ' {"run_id": " ${{ steps.dispatch .outputs.run_id }}"} '
6678
6779 - id : create-commit-comment
6880 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
0 commit comments