Skip to content

Support PR metadata update#15837

Open
raych1 wants to merge 1 commit into
mainfrom
users/raych1/update-pr-metadata
Open

Support PR metadata update#15837
raych1 wants to merge 1 commit into
mainfrom
users/raych1/update-pr-metadata

Conversation

@raych1
Copy link
Copy Markdown
Member

@raych1 raych1 commented Jun 2, 2026

Partially resolved #15714

  • Added a new flag to support PR body and title update if the PR exists

@raych1 raych1 requested a review from a team as a code owner June 2, 2026 23:29
Copilot AI review requested due to automatic review settings June 2, 2026 23:29
@raych1 raych1 requested a review from benbp June 2, 2026 23:30
@raych1 raych1 self-assigned this Jun 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Submit-PullRequest.ps1 to optionally update the title and body of an already-existing GitHub pull request (supporting SDK PR regeneration scenarios described in issue #15714), while preserving the default behavior for existing callers.

Changes:

  • Add UpdateExistingPullRequest flag (default false) to control whether existing PR title/body are updated.
  • When an existing PR is found, optionally call Update-GitHubIssue to update the PR’s title/body, and continue emitting the PR number/build summary.

Comment thread eng/common/scripts/Submit-PullRequest.ps1
@azure-sdk-automation
Copy link
Copy Markdown
Contributor

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

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.

Update the title and description if the SDK PR already exists during PR creation

2 participants