Skip to content

Sync eng/common directory with azure-sdk-tools for PR 16662 - #50043

Merged
Chidozie Ononiwu (chidozieononiwu) merged 1 commit into
mainfrom
sync-eng-common-expandEngCommonWorkflow-16662
Aug 6, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 16662#50043
Chidozie Ononiwu (chidozieononiwu) merged 1 commit into
mainfrom
sync-eng-common-expandEngCommonWorkflow-16662

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

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

Copilot AI lite review requested due to automatic review settings August 5, 2026 18:21
@azure-sdk-automation
azure-sdk-automation Bot requested a review from a team as a code owner August 5, 2026 18:21
@azure-sdk-automation azure-sdk-automation Bot added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Adds an option to force owner-suffixed GitHub token variable names even when only a single owner is requested, improving consistency for downstream consumers.

Changes:

  • Add AlwaysUseOwnerSuffix switch to login-to-github.ps1 to optionally always export <Prefix>_<Owner>.
  • Expose AlwaysUseOwnerSuffix as a boolean parameter in the Azure Pipelines login-to-github.yml step template and pass it through to the script.

Reviewed changes

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

File Description
eng/common/scripts/login-to-github.ps1 Adds a new switch and updates variable naming logic for exported token variables.
eng/common/pipelines/templates/steps/login-to-github.yml Adds a template parameter and forwards it to the PowerShell script invocation.

Comment on lines 22 to +27
Prefix for the exported variable name (default: GH_TOKEN).
With a single owner, exports as GH_TOKEN. With multiple owners, exports as GH_TOKEN_<Owner>.

.PARAMETER AlwaysUseOwnerSuffix
Export tokens as <VariableNamePrefix>_<Owner> even when only one owner is requested.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
34 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-sdk-automation
azure-sdk-automation Bot force-pushed the sync-eng-common-expandEngCommonWorkflow-16662 branch 2 times, most recently from e0e2e27 to 691287f Compare August 5, 2026 22:23
@azure-sdk-automation
azure-sdk-automation Bot force-pushed the sync-eng-common-expandEngCommonWorkflow-16662 branch from 691287f to 3442d70 Compare August 6, 2026 18:49
@chidozieononiwu
Chidozie Ononiwu (chidozieononiwu) merged commit f8b9ae2 into main Aug 6, 2026
9 checks passed
@chidozieononiwu
Chidozie Ononiwu (chidozieononiwu) deleted the sync-eng-common-expandEngCommonWorkflow-16662 branch August 6, 2026 22:29
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.

2 participants