Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"sourceBranch" not working in local config? #516

Closed
rasky opened this issue Oct 24, 2024 · 1 comment · Fixed by #518
Closed

"sourceBranch" not working in local config? #516

rasky opened this issue Oct 24, 2024 · 1 comment · Fixed by #518

Comments

@rasky
Copy link

rasky commented Oct 24, 2024

I've created a local config file as follows:

{
    "repoOwner": "DragonMinded",
    "repoName": "libdragon",
    "targetBranchChoices": [{ "name": "trunk", "checked": true }],
    "sourceBranch": "preview",
    "multipleCommits": true
}

My global config only contains the access token. When I run backport with no arguments, the tool fetches the remote commits from the default branch (trunk) and shows me the list of trunk commits to select for backport. If I instead run the tool with backport --sourceBranch=preview, everything works as expected.

I'm running backport 9.6.1.

@sorenlouv
Copy link
Owner

Thanks for raising this. I'll take a look. Until then can you try with backport --skipRemoteConfig and see if that makes a difference?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants