workflow_call

This page was generated based on Github’s Documentation. See our welcome page for context and details.

Github Event workflow_call #

Github Action Trigger #

source

Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
Same as the caller workflowNot applicableSame as the caller workflowSame 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.

See Github’s Documentation.