From fbad0dce9c607d5f05aea4bd22dead9674929111 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Wed, 1 Apr 2026 14:38:16 +0200 Subject: [PATCH] Add /need-monitor-info command (#45636) ## Summary of the Pull Request ## PR Checklist - [ ] Closes: #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed --- .github/policies/resourceManagement.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 4a914c6465..d17c4ca453 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -233,6 +233,30 @@ configuration: - addReply: reply: Hi! Thanks for making us aware of the problem. We raised the issue with our internal localization team. This issue should be fixed hopefully in the next version of PowerToys. description: + - if: + - payloadType: Issue_Comment + - commentContains: + pattern: '\/need-monitor-info' + isRegex: True + - hasLabel: + label: Product-Cursor Wrap + - or: + - activitySenderHasAssociation: + association: Owner + - activitySenderHasAssociation: + association: Member + - activitySenderHasAssociation: + association: Collaborator + then: + - removeLabel: + label: Needs-Triage + - removeLabel: + label: Needs-Team-Response + - addLabel: + label: Needs-Author-Feedback + - addReply: + reply: "To help debug your layout, please run [this script](https://github.com/microsoft/PowerToys/blob/main/src/modules/MouseUtils/CursorWrap/CursorWrapTests/Capture-MonitorLayout.ps1) and attach the generated JSON output to this thread.\n\nThis allows us to better understand the issue and investigate potential fixes." + description: - if: - payloadType: Issue_Comment - commentContains: