auto azp run#28419
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces an automated Azure DevOps pipeline triggering system for Azure organization members. The system includes a PowerShell script for checking GitHub organization membership, a GitHub Actions workflow that automatically triggers ADO pipelines for PRs from Azure members, and comprehensive documentation and testing.
- Adds a robust PowerShell script that returns structured objects for membership checks
- Implements a GitHub Actions workflow that automatically triggers ADO pipelines for Azure organization members
- Provides comprehensive documentation and testing framework for the membership checker
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/auto-azp-run.yml | GitHub Actions workflow that checks PR author's Azure org membership and triggers ADO pipeline |
| tools/GitHubOrgMember/Check-AzureOrgMembership.ps1 | PowerShell script that checks Azure organization membership using GitHub CLI |
| tools/GitHubOrgMember/README.md | Comprehensive documentation with usage examples and API reference |
| tools/GitHubOrgMember/Test-ObjectBased.ps1 | Test suite for validating the membership checker functionality |
|
|
||
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | ||
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quietrns structured PowerShell objects for easy processing and integration. | ||
|
|
There was a problem hiding this comment.
There appears to be a corrupted line with partial PowerShell code block syntax. The line should end properly before starting the code example.
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Returns structured PowerShell objects for easy processing and integration. | |
| ```powershell | |
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quiet |
|
|
||
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | ||
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quietrns structured PowerShell objects for easy processing and integration. | ||
|
|
There was a problem hiding this comment.
The text contains a malformed sentence with 'Quietrns' which should be separated into 'Quiet' and 'Returns'. The line appears to have formatting corruption.
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. | |
| ```powershell | |
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quiet |
Returns structured PowerShell objects for easy processing and integration.
In conclusion, |
Description
This pull request introduces an automated GitHub Actions workflow and a robust PowerShell script to check Azure organization membership for PR authors, along with comprehensive documentation and tests. The workflow enables automatic triggering of Azure DevOps (ADO) pipelines for PRs submitted by Azure organization members. The new PowerShell script provides structured, testable, and pipeline-friendly membership checks, with clear documentation and a test suite to ensure reliability.
Test PR: isra-fel#12
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.