I’m trying to use the GitHub workflow ‘on’ trigger, to daisy-chain multiple workflows together.
I can use the workflow_run event to trigger the next workflow, however, I want to have more granularity. For example, I only want to trigger the next workflow, if the previous one completed successfully, not just that the workflow itself completed.
on: workflow_run: workflows: ["Workflow1"] branches: [master] types: - completed - **success** (THIS STATUS DOES NOT EXIST) check_run: types: [completed] conclusion: [success]
There doesn’t seem to be a ‘success’ status for the workflow_run event, but there is one for the check_run even (which is restricted to the current workflow, not a different one.
Does anyone know if this logic is supported? And if so, what am I missing in the YAML syntax?