Skip to content

Commit 5f222d2

Browse files
committed
Rename script and pipeline.
1 parent 67b6c20 commit 5f222d2

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/api-review-pending.yml renamed to .github/workflows/manage-pending-api-reviews.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: API Review Pending Work Item Sync
1+
name: Manage Pending API Reviews
22

33
on:
44
pull_request_target:
@@ -29,8 +29,8 @@ permissions:
2929
pull-requests: read
3030

3131
jobs:
32-
sync-pending-review:
33-
name: Sync Pending API Review Work Item Field
32+
manage-pending-api-reviews:
33+
name: Manage Pending API Reviews
3434
if: >-
3535
${{
3636
github.event_name == 'workflow_call' ||
@@ -65,11 +65,11 @@ jobs:
6565
"AZSDK_CLI=$azsdkCli" | Out-File -FilePath $env:GITHUB_ENV -Append
6666
Write-Host "Installed azsdk-cli $installedVersionText at $azsdkCli"
6767
68-
- name: Sync pending API review URL
68+
- name: Manage pending API review URL
6969
shell: bash
7070
env:
7171
AZURE_DEVOPS_EXT_PAT: ${{ secrets.AZURE_DEVOPS_EXT_PAT }}
7272
API_REVIEW_EVENT_PATH: ${{ inputs['event-path'] }}
7373
API_REVIEW_METADATA_MARKER: ${{ inputs['metadata-marker'] || 'api-md-review-sync' }}
7474
PENDING_API_REVIEWS_FIELD: ${{ inputs['pending-reviews-field'] || 'Custom.PendingAPIReviews' }}
75-
run: node eng/common/scripts/sync-api-review-pending.js
75+
run: node eng/common/scripts/manage-pending-api-reviews.js
File renamed without changes.

scripts/api_md_workflow/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Primary output:
3636

3737
Secondary output:
3838

39-
- PR body sync metadata includes the package work item ID when available, so `.github/workflows/api-review-pending.yml` can synchronize `Custom.PendingAPIReviews` on PR open, close, and reopen events.
39+
- PR body sync metadata includes the package work item ID when available, so `.github/workflows/manage-pending-api-reviews.yml` can synchronize `Custom.PendingAPIReviews` on PR open, close, and reopen events.
4040
- Matching API review architects are requested as GitHub reviewers when a PR number is available.
4141

4242
## High-Level Flow
@@ -167,7 +167,7 @@ azsdk package get-work-item --package-name <package-name> -o json
167167

168168
2. Extract the work item `id` and write it to PR body sync metadata as `packageWorkItemId`.
169169

170-
The `.github/workflows/api-review-pending.yml` workflow owns `Custom.PendingAPIReviews` updates. On API review PR `opened` or `reopened`, it appends the PR URL if missing. On `closed`, it removes the PR URL.
170+
The `.github/workflows/manage-pending-api-reviews.yml` workflow owns `Custom.PendingAPIReviews` updates. On API review PR `opened` or `reopened`, it appends the PR URL if missing. On `closed`, it removes the PR URL.
171171

172172
The workflow updates the work item with:
173173

0 commit comments

Comments
 (0)