I have a workflow triggered as follows:
name: Production deploy
on:
workflow_run:
workflows: ["Stage deploy"]
types:
- completed
I expect that after the stage deploy (which also runs API tests) completes successfully, then the production deploy would start. However, I just watched a failed stage deploy (which skipped its API tests due to the failed deploy) also trigger a production deploy. Is there a different “types” value for workflow_run that causes it not to fire if the workflow failed, rather than completed successfully?