Skip to content

Conversation

@isra-fel
Copy link
Member

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings August 19, 2025 07:39
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@isra-fel isra-fel closed this Aug 19, 2025
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 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
Copy link

Copilot AI Aug 19, 2025

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.

Suggested change
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.

Copilot uses AI. Check for mistakes.

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.

Copy link

Copilot AI Aug 19, 2025

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.

Suggested change
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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant