Tagging of reusable workflows?

What does the @{ref} reference ?

What does @v1 reference ? GitHub tag ?

What does @master reference ? Branch ?

What if I want to reference the reusable workflow from the exact branch where the workflow that is reusing the first one is executed ?

Hi @aleks-ivanov. The {ref} can be a SHA, a release tag, or a branch name. Today, there’s not a way to reference the reusable workflow by a dynamic value (such as the current ref_head). Here’s another thread about that: Ref Head in Reusable Workflows

1 Like