Skip to content
Discussion options

You must be logged in to vote

Oh, right! In that case you could try to build an if condition for the job that checks github.event.ref, maybe something like this:

if: startsWith(github.event.ref, 'refs/tags/v')

That’s assuming the job will only be called for push events, otherwise you’d have to check the event type first.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
2 participants