Skip to content

Reusable workfow : use current branch #25714

Discussion options

You must be logged in to vote

There is, since Tuesday:

  <a href="https://github.blog/changelog/2022-01-25-github-actions-reusable-workflows-can-be-referenced-locally/" target="_blank" rel="noopener">The GitHub Blog</a>

GitHub Actions: Reusable workflows can be referenced locally |

GitHub Actions: Reusable workflows can be referenced locally

Unfortunately there seems to be a bug when using that new syntax with the pull_request trigger, but I’ve successfully used it with push.

<a href="https://github.community/t/ref-head-in-reusable-workflows/203690/60">Ref Head in Reusable Workflows</a> <a class="badge-wrapper  bullet" href="/c/code-to-cloud/github-actions/41"><span class="badge-category-parent-bg" style="back…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants