Skip to content

Add a script to update pull request URL in release plan from SDK gene…#11974

Merged
praveenkuttappan merged 5 commits intoAzure:mainfrom
praveenkuttappan:add_optional_release_plan_id
Sep 6, 2025
Merged

Add a script to update pull request URL in release plan from SDK gene…#11974
praveenkuttappan merged 5 commits intoAzure:mainfrom
praveenkuttappan:add_optional_release_plan_id

Conversation

@praveenkuttappan
Copy link
Member

This PR adda script to update pull request URL and status in release plan. This script will be consumed by SDK generation pipeline https://github.com/Azure/azure-rest-api-specs/blob/main/eng/pipelines/templates/stages/archetype-spec-gen-sdk.yml

Copilot AI review requested due to automatic review settings September 4, 2025 22:48
@praveenkuttappan praveenkuttappan requested a review from a team as a code owner September 4, 2025 22:48
@praveenkuttappan praveenkuttappan self-assigned this Sep 4, 2025
Copy link
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 adds functionality to update pull request URLs and status information in release plan work items for SDK generation pipelines. It introduces a new PowerShell script that will be consumed by the Azure SDK generation pipeline to track pull request information per programming language.

Key changes:

  • New PowerShell script Update-PullRequest-In-ReleasePlan.ps1 that accepts release plan work item ID, PR URL, status, and language parameters
  • New function Update-PullRequestInReleasePlan in the DevOps helpers to handle the actual work item updates

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
eng/common/scripts/Update-PullRequest-In-ReleasePlan.ps1 New script providing entry point for updating PR information in release plans
eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 Adds helper function to update work item fields for PR URL and status

@azure-sdk
Copy link
Collaborator

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

@azure-sdk
Copy link
Collaborator

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

Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

Left a few comments but otherwise looks reasonable

@azure-sdk
Copy link
Collaborator

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

praveenkuttappan added a commit to Azure/azure-sdk-for-js that referenced this pull request Sep 6, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#11974 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
praveenkuttappan added a commit to Azure/azure-sdk-for-rust that referenced this pull request Sep 6, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#11974 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
@praveenkuttappan praveenkuttappan merged commit 52546f3 into Azure:main Sep 6, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Engagement Experience Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants