The 'workflow_run' trigger fires when another workflow completes. Which filter lets you run only when the triggering workflow succeeded?
Select an answer to reveal the explanation.
Short Explanation and Infographic
workflow_run only has a 'completed' event type — you have to check conclusion in your job's if: condition to know whether it succeeded.
Full explanation below image
Full Explanation
The 'workflow_run' trigger only fires on 'requested' and 'completed' events. The 'types: [completed]' filter ensures you act after completion. To check the outcome, use 'if: github.event.workflow_run.conclusion == "success"' in your job or step condition. The 'conclusion' field in the event payload contains values like 'success', 'failure', 'cancelled', 'skipped'. There is no direct 'status: success' filter available in the trigger block itself — that check must be in an 'if:' expression.