-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action fails when GITHUB_REF does not exist #80
Comments
This is breaking all our pipelines, even if we set |
…-aws-credentials#80" You're unable to set environment variables with the GITHUB_ prefix, should have RTFM This reverts commit dc2e922.
Thanks for reporting @sergirosell & @bennettl - sounds like the issue with the runner was rolled back, but we're working on fixing this for |
FYI we are tracking issues with remaining env vars here: #105 |
Certain workflows don't set a GITHUB_REF variable, because the triggering event doesn't have a branch or tag. See GitHub's docs on GITHUB_REF.
However, this action fails with an error when the GITHUB_REF environment variable doesn't exist, with the output
##[error]Missing required environment value. Are you running in GitHub Actions?
.The text was updated successfully, but these errors were encountered: