-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Buildkite: Try same-named branches when cloning core repos, for PRs originating from official dlang repos #452
base: master
Are you sure you want to change the base?
Conversation
buildkite/origin_target_branch.sh
Outdated
@@ -10,7 +10,12 @@ fi | |||
if [ $# -eq 2 ]; then | |||
origin_target_branch="$2" | |||
else | |||
origin_target_branch="${BUILDKITE_PULL_REQUEST_BASE_BRANCH:-$BUILDKITE_BRANCH}" | |||
if [[ "${BUILDKITE_PULL_REQUEST_REPO:-}" =~ ^git@github\.com:dlang/ ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope this is the source repo of the PR. I.e., kinke/druntime
when opening a druntime PR from my fork. https://buildkite.com/docs/pipelines/environment-variables#bk-env-vars-buildkite-pull-request-repo isn't too clear.
…riginating from official dlang repos
Looks alright from what I can tell - this is a PR from an official dlang repo itself, |
Is the buidkite ldc failure going away after dlang/dmd#13593 is merged? |
Not really - it depends on whether Buildkite does a full or shallow git clone of dmd AFAICT. If it's a shallow clone without |
No description provided.