I'd like to make a job or step (either would work for me) conditional in our workflow, and have it validate the current branch is "master". Is there something we can reference in the `if:` conditional to match only when the branch being pushed to is master?
Solved! Solved! Go to Solution.
"ref" is a term of art in git (and thus github, it's a common encounter in the API): https://git-scm.com/book/en/v2/Git-Internals-Git-References