Closed joanromano closed 5 years ago
is there any update on this issue? we are really keen to get this issue fixed.
whenever the base branch is merge and/or deleted and we change the PR, the BUILDKITE_PULL_REQUEST_BASE_BRANCH should be updated. Otherwise we have to delete the existing PR and creating a new one.
hitting this one right now. has there been any progress? we are trying to move our development efforts into smaller PRs for review and this would greatly hinder that process.
hitting this issue repeatedly this week :(
Sorry for the slow response on this one folks. I just wanted to give you a quick heads up that we keep BUILDKITE_PULL_REQUEST_BASE_BRANCH
in sync with GitHub pull requests now. If you change the base in a pull request, the next build that triggers will have the latest value.
Let me know if you have any follow up questions! (and sorry again for taking a while to get the fix out)
This environment variable does not get updated if the PR's base branch is changed after creating the PR.
Even after the change, checking for ENV['BUILDKITE_PULL_REQUEST_BASE_BRANCH'] will basically output the same branch name as before.