-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
CODEBUILD_PULL_REQUEST always equals false #8
Comments
From the discussion at https://stackoverflow.com/questions/47657423/get-github-git-branch-for-aws-codebuild I would guess this is related to #1 I have replaced the CODEBUILD_ prefix with my own internal prefix or eg. GIT_TAG and this script is working for me. |
Please try setting git clone depth to something greater than 1. |
Thank you! I will give that a try, one of my coworkers suggested the same thing in a meeting yesterday. |
I am having the same problem. git clone depth is greater than 1 but it didn't work. pull request always false. |
This seemed to be working a couple of weeks ago but
CODEBUILD_PULL_REQUEST
always seems to befalse
for me now.The text was updated successfully, but these errors were encountered: