-
Notifications
You must be signed in to change notification settings - Fork 4.1k
workflow #28417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workflow #28417
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.
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 implements a GitHub Actions workflow to automatically trigger Azure DevOps (ADO) pipelines for pull requests created by Azure organization members. The implementation includes PowerShell scripts for checking GitHub organization membership and comprehensive testing infrastructure.
- Adds GitHub Actions workflow that checks PR author membership in Azure organization and triggers ADO pipelines via "/azp run" comments
- Creates PowerShell-based Azure organization membership checker with structured object output and comprehensive error handling
- Includes testing infrastructure and documentation for the membership checking functionality
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/auto-azp-run.yml |
Main GitHub Actions workflow for auto-triggering ADO pipelines |
.github/workflows/README-auto-azp-run.md |
Documentation for the GitHub Actions workflow |
tools/GitHubOrgMember/Check-AzureOrgMembership.ps1 |
PowerShell script for checking Azure organization membership |
tools/GitHubOrgMember/README.md |
Comprehensive documentation for the membership checker |
tools/GitHubOrgMember/Demo-ObjectBased.ps1 |
Demonstration script showing usage examples |
tools/GitHubOrgMember/Test-ObjectBased.ps1 |
Test suite for validating the membership checker |
requirements.md |
Requirements document defining the project scope and goals |
| @@ -0,0 +1,327 @@ | |||
| # GitHub Azure Organization Membership Checker | |||
|
|
|||
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | |||
Copilot
AI
Aug 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line contains corrupted text with an incomplete code block marker. The text 'Re```powershell' appears to be a formatting error. This should be corrected to proper markdown syntax.
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | |
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. |
|
|
||
| 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. | ||
|
|
Copilot
AI
Aug 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line contains corrupted text where 'Quietrns' should be 'Quiet' followed by proper line termination. The PowerShell example is merged with the description text, making it unreadable.
| 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.
Description
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.