Skip to content
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

"sourceBranch" not working in local config? #516

Open
rasky opened this issue Oct 24, 2024 · 1 comment
Open

"sourceBranch" not working in local config? #516

rasky opened this issue Oct 24, 2024 · 1 comment

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?

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

No branches or pull requests

2 participants