This page was generated based on Github’s Documentation. See our welcome page for context and details.
Github Event workflow_call
#
Github Action Trigger #
Webhook event payload | Activity types | GITHUB_SHA | GITHUB_REF |
---|---|---|---|
Same as the caller workflow | Not applicable | Same as the caller workflow | Same as the caller workflow |
workflow_call
is used to indicate that a workflow can be called by another workflow. When a workflow is triggered with the workflow_call
event, the event payload in the called workflow is the same event payload from the calling workflow. For more information see, “Reusing workflows.”
The example below only runs the workflow when it’s called from another workflow:
on: workflow_call
Event Payload #
This event’s payload is the same as the caller workflow.