Skip to content

Use defaultBranch from VCS in ProductionBranch field #2149

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

Merged
merged 1 commit into from
Jul 25, 2025

Conversation

hmacr
Copy link
Contributor

@hmacr hmacr commented Jul 23, 2025

What does this PR do?

By default, we were showing main as the default branch when connecting an existing repository. But repositories can customise the default-branch on GitHub - this PR will show it.

Test Plan

  • Change the default branch in an existing GitHub repo.
  • Connect the repo when deploying a site (or) function.
  • Verify that the ProductionBranch value is set to customised branch on load.

Related PRs and Issues

@ItzNotABug
Copy link
Member

ItzNotABug commented Jul 24, 2025

Backend pending merge, marking as Draft. cc @Meldiron @vermakhushboo

@ItzNotABug ItzNotABug marked this pull request as draft July 24, 2025 09:24
@Meldiron Meldiron marked this pull request as ready for review July 24, 2025 15:26
@Meldiron Meldiron marked this pull request as draft July 24, 2025 15:28
@Meldiron Meldiron marked this pull request as ready for review July 25, 2025 09:06
@Meldiron
Copy link
Contributor

Backend released, and migrated.

@Meldiron Meldiron merged commit 4538dbb into appwrite:main Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants