convictional / trigger-workflow-and-wait

Trigger a workflow in another (or same) repository and wait for the job to finish.
MIT License
311 stars 151 forks source link

Expose Conclusion as an action output #58

Closed Danphillipz closed 1 year ago

Danphillipz commented 2 years ago

Expose conclusion as an output of the action so that it can be referenced in later steps. e.g ${{ steps.STEPID.outputs.conclusion }}

Use case:

  1. Run Job A (E.g setup)
  2. Run Job B - Propagate failure
  3. Run Job C (E.g tidy up)
  4. Check conclusion of job B to determine if build should pass/fail
rabih commented 1 year ago

Looks great :)