Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14219#6978

Merged
azure-sdk merged 5 commits intomainfrom
sync-eng/common-AddGHAppWorkflowLogin-14219
Mar 2, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 14219#6978
azure-sdk merged 5 commits intomainfrom
sync-eng/common-AddGHAppWorkflowLogin-14219

Conversation

@azure-sdk
Copy link
Collaborator

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

@azure-sdk azure-sdk requested a review from a team as a code owner February 27, 2026 23:04
@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 Feb 27, 2026
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 syncs the eng/common directory from azure-sdk-tools PR #14219, extending the existing login-to-github.ps1 script to support GitHub Actions workflows (in addition to Azure DevOps pipelines), and adding a new composite GitHub Actions wrapper (eng/common/actions/login-to-github/action.yml) to make it easy to call that script from GH Actions.

Changes:

  • login-to-github.ps1 updated with docs and GitHub Actions support: masks the token via ::add-mask:: and writes it to GITHUB_ENV, and improves the error message formatting for Key Vault signing failures.
  • New eng/common/actions/login-to-github/action.yml composite action that wraps the PS1 script for use in GitHub Actions, forwarding inputs as environment variables.

Reviewed changes

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

File Description
eng/common/scripts/login-to-github.ps1 Adds GitHub Actions token export/masking, updates docs/comments, and tweaks the KV sign error message.
eng/common/actions/login-to-github/action.yml New composite GitHub Actions action wrapping the PS1 script with all required inputs and example usage.

@azure-sdk azure-sdk merged commit 7e59cab into main Mar 2, 2026
53 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-AddGHAppWorkflowLogin-14219 branch March 2, 2026 20:55
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