Change trigger for labels to [Policy] (#95557)

This commit is contained in:
Kaleb Luedtke authored and GitHub committed 2023-02-03 17:32:54 -08:00
1 parent a89ce3456d
commit 85db36a985
2 files changed
+13 -13

No files matched your search

+11 -11
View File
@@ -1468,7 +1468,7 @@
"parameters": {
"bodyPattern": "/block",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[bB]locking[\\s-][iI]ssue"
"commentPattern": "\\[[Pp]olicy\\]\\s+[bB]locking[\\s-][iI]ssue"
}
},
{
@@ -1585,7 +1585,7 @@
"parameters": {
"bodyPattern": "/block",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[bB]locking[\\s-][iI]ssue"
"commentPattern": "\\[[Pp]olicy\\]\\s+[bB]locking[\\s-][iI]ssue"
}
},
{
@@ -1696,7 +1696,7 @@
"parameters": {
"bodyPattern": "/dep",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[dD]ependencies"
"commentPattern": "\\[[Pp]olicy\\]\\s+[dD]ependencies"
}
},
{
@@ -1819,7 +1819,7 @@
"parameters": {
"bodyPattern": "/dep",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[dD]ependencies"
"commentPattern": "\\[[Pp]olicy\\]\\s+[dD]ependencies"
}
},
{
@@ -1936,7 +1936,7 @@
"parameters": {
"bodyPattern": "/ext",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[aA]rea[\\s-][eE]xternal"
"commentPattern": "\\[[Pp]olicy\\]\\s+[aA]rea[\\s-][eE]xternal"
}
},
{
@@ -2053,7 +2053,7 @@
"parameters": {
"bodyPattern": "/ssue",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[iI]nstaller[\\s-][iI]ssue"
"commentPattern": "\\[[Pp]olicy\\]\\s+[iI]nstaller[\\s-][iI]ssue"
}
},
{
@@ -2164,7 +2164,7 @@
"parameters": {
"bodyPattern": "/ssue",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[iI]nstaller[\\s-][iI]ssue"
"commentPattern": "\\[[Pp]olicy\\]\\s+[iI]nstaller[\\s-][iI]ssue"
}
},
{
@@ -2281,7 +2281,7 @@
"parameters": {
"bodyPattern": "/ext",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[aA]rea[\\s-][eE]xternal"
"commentPattern": "\\[[Pp]olicy\\]\\s+[aA]rea[\\s-][eE]xternal"
}
},
{
@@ -2386,7 +2386,7 @@
"parameters": {
"bodyPattern": "/inter",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[iI]nteractive[\\s-][oO]nly([\\s-][iI]nstaller)?"
"commentPattern": "\\[[Pp]olicy\\]\\s+[iI]nteractive[\\s-][oO]nly([\\s-][iI]nstaller)?"
}
},
{
@@ -2509,7 +2509,7 @@
"parameters": {
"bodyPattern": "/inter",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[iI]nteractive[\\s-][oO]nly([\\s-][iI]nstaller)?"
"commentPattern": "\\[[Pp]olicy\\]\\s+[iI]nteractive[\\s-][oO]nly([\\s-][iI]nstaller)?"
}
},
{
@@ -2759,7 +2759,7 @@
"parameters": {
"bodyPattern": "/feedback",
"isRegex": true,
"commentPattern": "@[mM][sS][fF][tT][bB][oO][tT]\\s+[rR]eset\\s+[fF]eedback"
"commentPattern": "\\[[Pp]olicy\\]\\s+[rR]eset\\s+[fF]eedback"
}
},
{
+2 -2
View File
@@ -49,7 +49,7 @@ Moderators are able to approve most pull requests for automatic merge. When a mo
Occasionally the automatic validation runs into an issue which is transient, or may be solved by re-running the validation. This will remove most error labels and will cause the validation service to start a brand new validation instance.
### Removing Pull Request Feedback
> Trigger: Comment `@MSFTbot reset feedback` on a pull request
> Trigger: Comment `[Policy] reset feedback` on a pull request
The bots which help keep the repository clean sometimes make mistakes or or sometimes a moderator misclicks and accidentally requests changes. This can add the `Needs-Author-Feedback` or `Needs-Attention` labels to pull requests that don't need them. Moderators can remove these labels without re-running the pipelines to allow for the PR to be re-reviewed and merged.
### Closing Pull Requests and Issues
@@ -65,7 +65,7 @@ When duplicate issues are raised, moderators are able to use this special variat
> Note: This does not work for cross-repository duplicates
### Tagging of Issues and Pull Requests
> Trigger: Comment `@MSFTbot <label-name>`
> Trigger: Comment `[Policy] <label-name>`
Moderators are often the first to see and triage new issues, and so they have the ability to apply certain labels to pull requests and issues. Below is a list of labels that moderators can apply:
* `Area-External`