Azure / Azure/azure-sdk-tools

Use consistent branch to avoid duplicate automation PRs

Open
#11,577 0 comments 1 reaction 0 assignees View on GitHub
CodeGen
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

We should use a single branch for automation PRs so that we don't end up creating multiple PRs and instead just add commits to any open PRs.

https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/archetype-typespec-emitter.yml#L141-L147

Contributor guide

Open the contributing guide

Research direction

Start in eng/common/pipelines/templates/archetype-typespec-emitter.yml at lines 141-147 and trace how automation PR branches are selected. Confirm the current behavior that can create multiple PRs, then verify that one consistent branch is reused so new commits go to an open PR instead of creating duplicates.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, yaml
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.