Sync eng/common directory with azure-sdk-tools for PR 16449 - #10218
Merged
Travis Prescott (tjprescott) merged 2 commits intoAug 7, 2026
Merged
Conversation
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Introduces reusable Azure Pipelines YAML templates to standardize API Review Hub artifact generation and repository preparation across languages.
Changes:
- Added a base step template to prepare directories, checkout a validated Git ref, and validate/write artifact metadata.
- Added a base job template to clone the source repository and provide common variables/hooks for language-specific setup and generation steps.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| eng/common/pipelines/templates/steps/create-apireview-hub-artifacts-base.yml | Adds shared steps for checkout + artifact contract validation/metadata emission. |
| eng/common/pipelines/templates/jobs/apireview-hub-job-base.yml | Adds a shared job wrapper to clone the source repo and compose setup/generation steps. |
| $stateDir = '${{ parameters.workingDir }}/state' | ||
| $apiMdPath = Join-Path $outputDir 'api.md' | ||
| $apiMetadataPath = Join-Path $outputDir 'api.metadata.yml' | ||
| $packageRelativePathPath = Join-Path $stateDir 'package-relative-path.txt' |
| $ErrorActionPreference = 'Stop' | ||
|
|
||
| $outputDir = '${{ parameters.outputDir }}' | ||
| $stateDir = '${{ parameters.workingDir }}/state' |
| source_repo="${{ parameters.sourceCheckoutDir }}" | ||
| repository_full_name="${{ parameters.sourceRepositoryFullName }}" | ||
|
|
||
| rm -rf "$source_repo" |
| mkdir -p "$(dirname "$source_repo")" | ||
|
|
||
| echo "Cloning $repository_full_name into $source_repo" | ||
| git clone --filter=blob:none --no-checkout "https://github.com/$repository_full_name.git" "$source_repo" |
Travis Prescott (tjprescott)
deleted the
sync-eng-common-arh/InitialPipelines-16449
branch
August 7, 2026 17:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16449 See eng/common workflow