Skip to content

[GitHub Actions] branch conditional #26349

Answered by Geertvdc
troygoode asked this question in Actions
Discussion options

You must be logged in to vote

You can do a conditional statement using this:

if: github.ref == 'refs/heads/master'

Replies: 9 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
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
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
None yet
10 participants