Skip to content

GITHUB_HEAD_REF is inconsistent #25773

Discussion options

You must be logged in to vote

Hi @SamuraiTheNinja, welcome to the GitHub Support Community! Is it the head ref you’re looking for? I think you’ll be able to get this from inside the github.event context at github.event.pull_request.head.ref for both of these.

There’s example payloads for the webhook events that trigger workflows on this page so I’d recommend double checking that this is what you’re looking for.

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
3 participants