mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-07-02 16:39:14 +02:00
Compare commits
7 Commits
workspaces
...
copilot/mi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79f45e85ab | ||
|
|
caff537592 | ||
|
|
ecfc9ce18d | ||
|
|
d4addaa661 | ||
|
|
d6f20c8ef7 | ||
|
|
8a2870d61d | ||
|
|
74a8c309fb |
11
.github/policies/resourceManagement.yml
vendored
11
.github/policies/resourceManagement.yml
vendored
@@ -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:
|
||||
|
||||
60
.github/workflows/contribution-intent-reply.md
vendored
Normal file
60
.github/workflows/contribution-intent-reply.md
vendored
Normal 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.
|
||||
Reference in New Issue
Block a user