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

Support creating draft PRs for AzDO #323

Closed
tpwo opened this issue Jan 24, 2024 · 0 comments · Fixed by #322
Closed

Support creating draft PRs for AzDO #323

tpwo opened this issue Jan 24, 2024 · 0 comments · Fixed by #322

Comments

@tpwo
Copy link
Contributor

tpwo commented Jan 24, 2024

Hey, I successfully configured the tool to run with Azure DevOps, but I noticed that config included in the repo always causes creating standard PRs. In my organization, a standard PR automatically triggers CI, so it creates high queues for CI agents when a lot of PRs are created.

For me, the simplest solution was to create draft PRs instead. AzDO supports isDraft parameter in the API call (docs), so I did a minimal change in #322, and it seems to be working fine after adding "draft": true in "push_settings" in all-repos JSON config.

I thought that it might be useful for somebody out there, hence this issue and PR. Shall we merge it?

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 a pull request may close this issue.

1 participant