Skip to content

Enable auto-merge for Maestro dependency PRs - #11840

Open
Sakshi Sharma (sakshisharma150905) wants to merge 2 commits into
mainfrom
user/sakshishar/maestro-auto-merge
Open

Sakshi Sharma (sakshisharma150905) wants to merge 2 commits into
mainfrom
user/sakshishar/maestro-auto-merge

Conversation

@sakshisharma150905

Copy link
Copy Markdown
Contributor

Summary

Automatically starts Azure Pipelines validation and enables native auto-merge for WindowsAppSDK dependency PRs created by Maestro.

Changes

Updates .github/policies/resourceManagement.yml with a narrowly scoped rule that applies only when:

  • The PR is opened, reopened, or updated.
  • The author is dotnet-maestro[bot].
  • The target branch is main.
  • The PR contains the expected WindowsAppSDK Darc subscription marker.

For matching PRs, the policy:

  • Posts /azp run to start Azure Pipelines validation.
  • Enables GitHub-native squash auto-merge.

Expected behavior

Matching Maestro dependency PRs are marked for auto-merge when created or updated. GitHub keeps the PR open until all required approvals and status checks, including WinUI-GitHub-PR (OneBranch), have passed.

Other Maestro subscriptions and regular pull requests are unaffected.

Automatically request Azure Pipelines validation and enable native squash auto-merge for WindowsAppSDK Maestro PRs targeting main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9740590c-0cf8-4796-a833-854d072a674b
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the needs-triage Issue needs to be triaged by the area owners label Sep 10, 2026
@sakshisharma150905

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

Comment thread .github/policies/resourceManagement.yml Outdated
Apply the scoped validation and auto-merge policy to main and release/* target branches.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9740590c-0cf8-4796-a833-854d072a674b
@sakshisharma150905

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-triage Issue needs to be triaged by the area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WinUI OSS] Enable auto-merge for dependency update pull requests

4 participants