Compare commits

...

7 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
79f45e85ab Remove lock.yml gitattributes line 2026-07-01 18:44:02 +00:00
copilot-swe-agent[bot]
caff537592 Remove comment-only gitattributes change 2026-07-01 18:40:17 +00:00
copilot-swe-agent[bot]
ecfc9ce18d Document generated lock workflow merge behavior 2026-07-01 16:14:06 +00:00
copilot-swe-agent[bot]
d4addaa661 Switch contribution intent automation to agentic markdown workflow 2026-07-01 16:13:27 +00:00
copilot-swe-agent[bot]
d6f20c8ef7 Apply remaining changes 2026-07-01 16:07:22 +00:00
copilot-swe-agent[bot]
8a2870d61d Refine agentic contribution intent workflow robustness 2026-07-01 16:04:44 +00:00
copilot-swe-agent[bot]
74a8c309fb Migrate contribution-intent comment reply to agentic workflow 2026-07-01 16:03:38 +00:00
2 changed files with 61 additions and 10 deletions

View File

@@ -163,7 +163,7 @@ configuration:
association: Collaborator
then:
- addReply:
reply: We've identified this issue as a duplicate of an existing one and are closing this thread so discussion stays in one place.<br/><br/>Please see the comment above for the link to the original tracking issue, and feel free to subscribe there for updates.
reply: We've identified this issue as a duplicate of an existing one and are closing this thread so discussion stays in one place.<br/><br/>Please see the comment above for the link to the original tracking issue, and feel free to subscribe there for updates.
- closeIssue
- removeLabel:
label: Needs-Triage
@@ -257,14 +257,5 @@ configuration:
- 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:
pattern: "I(( would|'d) (like|love|be happy)| want) (to help|helping|to contribute|contributing|to implement|implementing|to fix|fixing)"
isRegex: True
then:
- addReply:
reply: Hi! Your last comment indicates to our system, that you might want to contribute to this feature/fix this bug. Thank you! Please make us aware on our ["Would you like to contribute to PowerToys?" thread](https://github.com/microsoft/PowerToys/issues/28769), as we don't see all the comments. <br /><br />_I'm a bot (beep!) so please excuse any mistakes I may make_
description:
onFailure:
onSuccess:

View File

@@ -0,0 +1,60 @@
---
description: Reply when a new issue comment indicates intent to contribute
on:
issue_comment:
types: [created]
roles: all
permissions:
contents: read
issues: read
models: read
tools:
github:
toolsets: [issues]
safe-outputs:
add-comment:
max: 1
noop:
---
# Contribution Intent Reply
You handle newly created issue comments in microsoft/PowerToys.
## Goal
Detect whether the new comment indicates that the author wants to contribute to fixing or implementing work for the issue.
## Scope
- Process **issue comments only**.
- If `${{ github.event.issue.pull_request }}` is present, this is a PR comment context and you must do nothing.
- Ignore comments from bot accounts.
## Decision rule
Reply only when the new comment clearly expresses first-person contribution intent for this issue, such as:
- "I want to contribute"
- "I'd like to help"
- "I can implement this"
- "I want to fix this"
Do **not** reply when the comment is only:
- agreement or feedback without volunteering
- third-person suggestions ("someone should fix this")
- requests for others to contribute
When uncertain, do not reply.
## Required reply text
When contribution intent is detected, post exactly this comment on the same issue:
Hi! Your last comment indicates to our system, that you might want to contribute to this feature/fix this bug. Thank you! Please make us aware on our ["Would you like to contribute to PowerToys?" thread](https://github.com/microsoft/PowerToys/issues/28769), as we don't see all the comments. <br /><br />_I'm a bot (beep!) so please excuse any mistakes I may make_
## Safe output behavior
- If contribution intent is detected: use `add-comment` once on issue `${{ github.event.issue.number }}` with the required reply text above.
- If no reply is needed: use `noop` with a short reason.