Skip to content

Sync eng/common directory with azure-sdk-tools for PR 15357#4309

Open
azure-sdk wants to merge 6 commits intomainfrom
sync-eng/common-prepare-pipelines-transition-15357
Open

Sync eng/common directory with azure-sdk-tools for PR 15357#4309
azure-sdk wants to merge 6 commits intomainfrom
sync-eng/common-prepare-pipelines-transition-15357

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#15357 See eng/common workflow

Copilot AI review requested due to automatic review settings April 29, 2026 18:54
@azure-sdk azure-sdk requested a review from a team as a code owner April 29, 2026 18:54
@azure-sdk azure-sdk requested a review from scbedd April 29, 2026 18:54
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Apr 29, 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

Syncs eng/common Azure Pipelines templates with the upstream azure-sdk-tools changes from PR 15357, primarily moving PR-related GitHub authentication from a PAT to GitHub App installation tokens minted at runtime.

Changes:

  • Add login-to-github.yml to mint GitHub App tokens in selected pipeline jobs.
  • Switch sparse-checkout authentication for *-pr repositories from $(azuresdk-github-pat) to $(GH_TOKEN).
  • Switch TypeSpec emitter PR creation authentication from $(azuresdk-github-pat) to $(GH_TOKEN_Azure).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
eng/common/pipelines/templates/jobs/prepare-pipelines.yml Mints GH_TOKEN for *-pr repos and uses it for authenticated sparse checkout instead of a PAT.
eng/common/pipelines/templates/archetype-typespec-emitter.yml Adds GitHub App token minting to multiple jobs and uses GH_TOKEN_Azure for PR creation.

Comment thread eng/common/pipelines/templates/archetype-typespec-emitter.yml Outdated
Comment thread eng/common/pipelines/templates/archetype-typespec-emitter.yml
Comment thread eng/common/pipelines/templates/archetype-typespec-emitter.yml
@azure-sdk azure-sdk force-pushed the sync-eng/common-prepare-pipelines-transition-15357 branch 2 times, most recently from 53284cb to 59aa283 Compare May 6, 2026 16:57
@azure-sdk azure-sdk force-pushed the sync-eng/common-prepare-pipelines-transition-15357 branch from 59aa283 to d556eee Compare May 6, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants