# GITHUB_REF and GITHUB_SHA no longer work

I was working on finishing my workflow, when suddenly I started seeing nonsensical errors. It turns out GITHUB_REF and GITHUB_SHA are no longer getting set!

Running cmd /c “set” on Windows gives:

``````[...]
GITHUB_BASE_REF=
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=d:\a\_temp\_github_workflow\event.json
GITHUB_REF=
GITHUB_REPOSITORY=nulano/Pillow
GITHUB_SHA=
[...]
``````

This broke about an hour ago.

Also see this issue: https://github.com/actions/checkout/issues/49

12 Likes

Thanks for letting us know, and sorry for the inconvenience.  We’re working on this now.

6 Likes

Can you post an update here once this starts working again?

1 Like

This should have been fixed now @svenstaro  🙇‍♂️

1 Like

Thanks. Just tested, it’s indeed working.

Are you sure this is working? I didn’t get any value for GITHUB_REPOSITORY today.

I also had issues with `GITHUB_REPOSITORY`, but it looks like `github.repository` might work?