Skip to content

It should be possible to reference reusable workflows by just their major version, like composite actions #130777

Answered by joshjohanning
ismay asked this question in Actions
Discussion options

You must be logged in to vote

You can use whatever tag you want when referencing reusable workflows. Those tags (v1.0.0 and v1) are created manually by action authors.

So if you are creating the v1.0.0 tag, you can also create and push the v1 tag too.

git tag v1 --force && git push origin v1 --force

I automate this using GitHub actions on new tag creation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ismay
Comment options

@joshjohanning
Comment options

Answer selected by ismay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
2 participants